Author facundobatista
Recipients Indy, facundobatista
Date 2008-07-11.02:43:58
SpamBayes Score 0.00274667
Marked as misclassified No
Message-id <1215744242.41.0.296434587358.issue3159@psf.upfronthosting.co.za>
In-reply-to
Content
If readability is enhanced is questionable, but is rejected on the basis
that cosmetic-only changes are not generally recommended: only
difficults following the code evolution in the repository.

The only change that I see regarding performance is the one involving
startswith, and it's actually wrong:

facundo@pomcat:~$ timeit.py -s "s='qwerty'" "s[0]=='q';s[0]=='x'"
1000000 loops, best of 3: 0.338 usec per loop
facundo@pomcat:~$ timeit.py -s "s='qwerty'"
"s.startswith('q');s.startswith('x')"
1000000 loops, best of 3: 0.854 usec per loop

Thanks anyway!
History
Date User Action Args
2008-07-11 02:44:06facundobatistasetspambayes_score: 0.00274667 -> 0.00274667
recipients: + facundobatista, Indy
2008-07-11 02:44:02facundobatistasetspambayes_score: 0.00274667 -> 0.00274667
messageid: <1215744242.41.0.296434587358.issue3159@psf.upfronthosting.co.za>
2008-07-11 02:43:59facundobatistalinkissue3159 messages
2008-07-11 02:43:58facundobatistacreate