[issue3439] create a numbits() method for int and long types

STINNER Victor report at bugs.python.org
Wed Dec 17 19:44:07 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Committed

Really? YEAH! Great job everybody ;-) I read the code and it looks 
valid. Micro optimisation (for smaller memory footprint): would it be 
possible to share the 32 int table (BitLengthTable) between int and 
long (in Python 2.x)?

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3439>
_______________________________________


More information about the Python-bugs-list mailing list