Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.060 X-Spam-Evidence: '*H*': 0.88; '*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; '10:13': 0.16; '3.3,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'introduces': 0.16; 'non-ascii': 0.16; 'perl.': 0.16; 'unicode.': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'wed,': 0.18; 'trying': 0.19; 'stack': 0.19; '>>>': 0.22; 'memory': 0.22; '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; 'message-id:@mail.gmail.com': 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; '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; 'possible': 0.36; 'should': 0.36; 'effort': 0.37; 'seconds': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'anything': 0.39; 'url:01': 0.39; 'extremely': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'how': 0.40; 'expression': 0.60; 'solve': 0.60; 'french': 0.61; "you're": 0.61; 'back': 0.62; 'times': 0.62; "you'll": 0.62; 'such': 0.63; 'our': 0.64; 'face': 0.64; 'account': 0.65; 'charset:windows-1252': 0.65; 'design.': 0.68; 'carefully': 0.74; 'funny': 0.74; 'jul': 0.74; 'discovered': 0.83; 'cycles.': 0.84; 'doesn\x92t': 0.84; '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=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=teWTTkhhtgWtK/qYC1hXEYLB9tKgvTiswqwUvyr+gIY=; b=c2TsCTrcqgID2l+EbsN2TZUC4PT1Jrta8aSaWXRvN9Twee4FFNqCrpmpzHHkWFUSe4 TcUEGkKSqNcIl2pEnqzqBNBrlpJB780oOAGel3wbXHR/C5ff0NmgsRGjnlkgp1GsAUeF OJngprfoEvVVAL625MhU71Yftk/KULJRg9mqCzW/Tiri1kE+XV7FEK8JTlwgjMG1jwYq BMi0+zzywYYdt8Kp086jotrMLgbX6tXfBXXqcMKOQRxkkbtCOeXYPuT/kM3Hs5jdec6j Jhto2ZL4bi2rvu8YMprXvJHBDH7WBzvrhMHv4xDnEOGIle1KmIqFLvi4ofuQWqNjXPoD RghA== MIME-Version: 1.0 X-Received: by 10.221.4.4 with SMTP id oa4mr4066512vcb.70.1373458971479; Wed, 10 Jul 2013 05:22:51 -0700 (PDT) In-Reply-To: References: <51dd22a6$0$11094$c3e8da3@news.astraweb.com> Date: Wed, 10 Jul 2013 22:22:51 +1000 Subject: =?windows-1252?Q?Re=3A_Stack_Overflow_moderator_=93animuson=94?= From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373458973 news.xs4all.nl 16002 [2001:888:2000:d::a6]:44087 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50348 On Wed, Jul 10, 2013 at 10:13 PM, Mats Peterson wrote: > Steven D'Aprano wrote: >> On Wed, 10 Jul 2013 07:55:05 +0000, Mats Peterson wrote: >> >>> A moderator who calls himself =93animuson=94 on Stack Overflow doesn=92= 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-number= s/ >> >> 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. >> >> > > You're obviously trying hard to be funny. It fails miserably. Either that or it's funny only to other Australians. ChrisA