Python Optimization

Aahz aahz at pythoncraft.com
Sun Feb 14 19:03:21 CET 2010


In article <363498c7-3575-4f1e-ad53-d9cd10c8da2c at q16g2000yqq.googlegroups.com>,
Mark Dickinson  <dickinsm at gmail.com> wrote:
>
>(2) Obvious things: use range rather than xrange in your loops.  

Um, what?  You meant the reverse, surely?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"



More information about the Python-list mailing list