Message183473
This unlikely will be useful. C code uses __length_hint__ because C code is fast enough and fill time can be comparable to resize time. But Python code will be one or two order slower and resize time is insignificant fraction of total time for any real code. You can implement your proposition and do the tests, and I doubt that they will show impressive results. |
|
Date |
User |
Action |
Args |
2013-03-04 16:34:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, rhettinger, pitrou, benjamin.peterson, alex |
2013-03-04 16:34:15 | serhiy.storchaka | set | messageid: <1362414855.25.0.174678940285.issue17338@psf.upfronthosting.co.za> |
2013-03-04 16:34:15 | serhiy.storchaka | link | issue17338 messages |
2013-03-04 16:34:15 | serhiy.storchaka | create | |
|