[issue13351] Strange time complexity when creating nested lists

R. David Murray report at bugs.python.org
Sun Nov 6 01:12:11 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

In the case of 'lists' an object is being allocated each time through the inner loop.  In the case of simple_lists, no such allocation is being done.  Your timing issues are probably related to the memory allocation behavior of your system.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list