Re: Stack Overflow moderator “animuson”
square.steve at gmail.com
Wed Jul 10 13:18:37 CEST 2013
Steven D'Aprano <steve at pearwood.info> wrote:
>On Wed, 10 Jul 2013 07:55:05 +0000, Mats Peterson wrote:
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>> to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being extremely slow compared to Perl.
>That's by design. We don't want to make the same mistake as Perl, where
>every problem is solved by a regular expression:
>so we deliberately make regexes as slow as possible so that programmers
>will look for a better way to solve their problem. If you check the
>source code for the re engine, you'll find that for certain regexes, it
>busy-waits for anything up to 30 seconds at a time, deliberately
>The same with Unicode. We hate French people, you see, and so in an
>effort to drive everyone back to ASCII-only text, Python 3.3 introduces
>some memory optimizations that ensures that Unicode strings work
>correctly and are up to four times smaller than they used to be. You
>should get together with jmfauth, who has discovered our dastardly plot
>and keeps posting benchmarks showing how on carefully contrived micro-
>benchmarks using a beta version of Python 3.3, non-ASCII string
>operations can be marginally slower than in 3.2.
>> Additionally my account has been suspended for 7 days. Such a
>I cannot imagine why he would have done that.
:-) Thank you.
Sent from a Galaxy far far away
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list