News for hackers. Stuff that matters.
Re:A Python Optimization Anecdote by mhd on Tuesday October 25, 2011 @06:53AM (#3153592)
I'm just amazed that it took ten iterations until regexps were even considered, especially considering that the set '[a-zA-Z0-9]' is involved…
Re:A Python Optimization Anecdote by pavpanchekha on Tuesday October 25, 2011 @01:37PM (#3154978)
Lots of function calls in the worst case made it seem unlikely to be a general solution. So I held off on testing that before I'd explored other paths.