Re:Python idiom for taking the single item from a list
by StavrosK on Monday September 27, 2010 @04:30PM
(#1733274)
The point of the above post was to say "this is nice syntax, and it isn't ten times slower, so it's good on that front too", not to say "use that because it's 6% faster". I'm never going to write this in a tight loop anyway, and even if I did, I'd benchmark the entire piece of code, not just this line.
[ Parent
| on HN ]
There are no comments on this comment yet.