Creating Long Lists

alex23 wuwei23 at
Tue Feb 22 04:11:23 CET 2011

On Feb 22, 12:57 pm, Kelson Zawack <zawack... at>
> I did not bother to further analyze or benchmark it.  Since the answers
> in the above forums do not seem very definitive  I thought  I would
> inquire here about what the reason for this decrease in performance is,
> and if there is a way, or another data structure, that would avoid this
> problem.

The first link is 6 years old and refers to Python 2.4. Unless you're
using 2.4 you should probably ignore it.

The first answer on the stackoverflow link was accepted by the poster
as resolving his issue. Try disabling garbage collection.

More information about the Python-list mailing list