Re:A Python Optimization Anecdote
by vilya on Tuesday October 25, 2011 @09:07AM
(#3153910)
In python there's no such thing as a char, there's only single-character strings. The above would actually be doing 6 string comparisons. That may still be faster... or may not. Measuring is the only way to be sure.
[ Parent
| on HN ]
There are no comments on this comment yet.