Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.049 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'perl,': 0.07; 'string': 0.09; 'additionally': 0.09; 'expression:': 0.09; 'moderator': 0.09; 'overflow': 0.09; 'url:blog': 0.10; 'python': 0.11; '3.3,': 0.16; '>on': 0.16; '>the': 0.16; 'galaxy': 0.16; 'introduces': 0.16; 'non-ascii': 0.16; 'perl.': 0.16; 'received:192.168.8': 0.16; 'unicode.': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'stack': 0.19; 'memory': 0.22; 'header:User-Agent:1': 0.23; 'text,': 0.24; 'unicode': 0.24; 'people,': 0.24; 'source': 0.25; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'compared': 0.30; 'matching': 0.30; 'see,': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'posting': 0.31; 'that.': 0.31; "d'aprano": 0.31; 'peterson': 0.31; 'steven': 0.31; 'url:06': 0.31; 'regular': 0.32; 'url:python': 0.33; 'everyone': 0.33; 'programmers': 0.33; 'problem': 0.35; 'problem.': 0.35; 'operations': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'himself': 0.36; 'done': 0.36; 'url:listinfo': 0.36; 'possible': 0.36; 'url:org': 0.36; 'should': 0.36; 'effort': 0.37; 'seconds': 0.37; 'being': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'url:01': 0.39; 'extremely': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'expression': 0.60; 'solve': 0.60; 'french': 0.61; 'you.': 0.62; 'back': 0.62; 'times': 0.62; "you'll": 0.62; 'such': 0.63; 'our': 0.64; 'face': 0.64; 'account': 0.65; 'skip:\xe2 10': 0.65; 'design.': 0.68; 'subjectcharset:utf-8': 0.72; '8bit%:43': 0.74; 'carefully': 0.74; 'jul': 0.74; 'discovered': 0.83; 'hate': 0.91; 'mistake': 0.91; 'suspended': 0.91; 'imagine': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version:content-type:subject :from:date:to:message-id; bh=6FO6LMyaV0SKP9k+rby7TGTHHRD3buuJvCXGmymsrI4=; b=hTy7qJgMev4s/PzfrkHvE+LGP9K0uyS/OWPa3t4dhDkGrY++HPwRRrfscp5mpisrVp Xgj0ccl5SPbUyP5TJ+uSChZJIplQObd+pH1A07QqaG6ySB34BkaFXAMpAHoYwuYN/6mS BDQAjgq//U6oNZKEZEMFwSJQgtbph61Ww0e2EbEwMoLez+c7UEL3ciJ096AEtDurNNlG vMJAf8JbilJfOnGqv+L5WympHHfQhz/rRKwdFoGMuTpxmq1C8HVYZ0gmYTXVMhYqQmDB yJwHUlBDAeVshhtGRziHnIWP+vc60uTmJEHqVJS9YAbIddDB88J8o3VKrpc9lrlFdcN+ GiEA== X-Received: by 10.180.74.162 with SMTP id u2mr5388245wiv.36.1373455125307; Wed, 10 Jul 2013 04:18:45 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <51dd22a6$0$11094$c3e8da3@news.astraweb.com> References: <51dd22a6$0$11094$c3e8da3@news.astraweb.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----QHTH3NL0RQ08SCUL6KAQL88MX2BPJN" Subject: =?UTF-8?Q?Re=3A_Stack_Overflow_moderator_=E2=80=9Canimuson=E2=80=9D?= From: Steve Simmons Date: Wed, 10 Jul 2013 12:18:37 +0100 To: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 68 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373455133 news.xs4all.nl 16010 [2001:888:2000:d::a6]:40519 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50341 ------QHTH3NL0RQ08SCUL6KAQL88MX2BPJN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steven D'Aprano wrote: >On Wed, 10 Jul 2013 07:55:05 +0000, Mats Peterson wrote: > >> A moderator who calls himself “animuson” on Stack Overflow doesn’t >want >> 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: > >http://neilk.net/blog/2000/06/01/abigails-regex-to-test-for-prime-numbers/ > >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 >wasting >cycles. > >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 >dickwad. > >I cannot imagine why he would have done that. > > >-- >Steven >-- >http://mail.python.org/mailman/listinfo/python-list :-) Thank you. Sent from a Galaxy far far away ------QHTH3NL0RQ08SCUL6KAQL88MX2BPJN Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Steven D'Aprano <steve@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 want
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:

http://neilk.net/blog/2000/06/01/abigails-regex-to-test-for-prime-numbers/

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 wasting
cycles.

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 dickwad.

I cannot imagine why he would have done that.


:-) Thank you.

Sent from a Galaxy far far away ------QHTH3NL0RQ08SCUL6KAQL88MX2BPJN--