List comprehensions performance

Batista, Facundo FBatista at uniFON.com.ar
Thu Sep 30 09:11:19 EDT 2004


[aleaxit at yahoo.com]

#- More generally, _who cares_ about this kind of speedups?!  Premature
#- optimization is the root of all evil in programming.  Make 
#- your programs
#- clear, simple, readable -- that's ALWAYS important!  So is 
#- using general
#- algorithms and data structures with good O() characteristics if the
#- input size is liable to grow a lot.  But squeezing out 10% 
#- or 20% here
#- or there is going to matter in a TINY minority of cases.  
#- Don't distort
#- your coding for such purposes!

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan

(from Aahz signature)

.	Facundo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040930/832744c6/attachment.html>


More information about the Python-list mailing list