Mark Dickinson <dicki...@gmail.com> added the comment:

Added another test to pybench;  it makes sense to consider cases where the 
input n is uniformly distributed in [0, 2**31) as well as cases where the 
output n.bit_length() is uniformly distributed in [0, 32).

Added file: http://bugs.python.org/file12340/bit_length_pybench.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3439>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to