Python 2.0b1 List comprehensions are slow
Guido van Rossum
guido at beopen.com
Wed Sep 13 08:55:25 EDT 2000
Agreed with Tim -- let's do this after 2.0 final.
Someone else once mailed me a different patch for list optimization
-- allow extra allocated memory at the front too, so that some forms
of insert() can be much faster. Another idea would be to maintain a
"gap" like the Emacs buffer implementation.
--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)
More information about the Python-list
mailing list