This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2008-02-05.03:07:45
SpamBayes Score 0.0005895531
Marked as misclassified No
Message-id <1202180868.04.0.23342807926.issue2013@psf.upfronthosting.co.za>
In-reply-to
Content
The patch adds a free list of long objects with size 1 or -1. It has
quite a tremendous effect on code like list(range(1000)).

$ ./python -m timeit "for i in range(100): list(range(1000))"

Without patch:
10 loops, best of 3: 79 msec per loop

With patch:
10 loops, best of 3: 20.8 msec per loop
History
Date User Action Args
2008-02-05 03:07:48christian.heimessetspambayes_score: 0.000589553 -> 0.0005895531
recipients: + christian.heimes
2008-02-05 03:07:48christian.heimessetspambayes_score: 0.000589553 -> 0.000589553
messageid: <1202180868.04.0.23342807926.issue2013@psf.upfronthosting.co.za>
2008-02-05 03:07:46christian.heimeslinkissue2013 messages
2008-02-05 03:07:46christian.heimescreate