Changes between Initial Version and Version 1 of Ticket #13352, comment 37


Ignore:
Timestamp:
12/10/13 12:04:34 (7 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13352, comment 37

    initial v1  
    66sage: timeit('len(B)',repeat=100,number=10000)
    7710000 loops, best of 100: 1.24 µs per loop
     8sage: B = Bitset('00'*10000)
     9sage: timeit('len(B)',repeat=100,number=10000)
     1010000 loops, best of 100: 254 ns per loop
    811}}}
    912
     
    1316sage: timeit('len(B)',repeat=100,number=10000)
    141710000 loops, best of 100: 168 ns per loop
     18sage: B = Bitset('00'*10000)
     19sage:  timeit('len(B)',repeat=100,number=10000)
     2010000 loops, best of 100: 168 ns per loop
    1521}}}