Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'cpython': 0.05; 'pypy': 0.07; 'versions,': 0.07; 'additionally': 0.09; 'builtin': 0.09; 'large-scale': 0.09; 'satisfy': 0.09; 'python': 0.11; 'cares': 0.16; 'compares': 0.16; 'competent': 0.16; 'curious.': 0.16; 'pathological': 0.16; 'perl.': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'normally': 0.19; 'properly': 0.19; 'stack': 0.19; 'examples': 0.20; "aren't": 0.24; 'module,': 0.24; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'url:code': 0.29; 'compared': 0.30; 'matching': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'about.': 0.31; 'comparison': 0.31; 'concern': 0.31; 'perl': 0.31; 'peterson': 0.31; 'anyone': 0.31; 'regular': 0.32; 'url:python': 0.33; 'cases': 0.33; 'standards': 0.33; 'to:name:python-list': 0.33; "i'd": 0.34; 'basic': 0.35; 'received:google.com': 0.35; 'whilst': 0.36; 'url:org': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'extremely': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'major': 0.40; 'expression': 0.60; 'most': 0.60; 'full': 0.61; 'you.': 0.62; 'july': 0.63; 'url:p': 0.64; 'account': 0.65; 'real-world': 0.68; 'results': 0.69; 'subjectcharset:utf-8': 0.72; 'remembering': 0.84; 'usage.': 0.84; 'suspended': 0.91; '30%': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=bp0IaLJFUgppjWbi4sM8M3KyOwt6dt0YwxeFwmiRe5I=; b=MoFA3t2VOKsehNs34eyR70VmibX2QZZD+VqjZL+zOBixe1p8xYnGlcvQndqLx4go81 0IroC+7xn8yKKdteTfGw2BQ/GuFe33+9VpW0wxC953uuavPCBm6P9cgEEOYIK26BaANR nnwQR4lnEETcDq1CdAmLIHhW3YlzzBvofZG0x2ow3ggKjh9JKgtZahciiVWwgK+7+kXo CQUcU3Hr/gSHKVjCZnTdGSnpgjmIhpsdBHG033OFvHVmlEG7IwrvmQIT/stt/NbocQ+t ocPKvPKdsKlnX+hlkA8DMY7XfJahOvl8id5wIxez83D4BiF0JR5uLVGrwreMoCbBx2W8 vo9g== X-Received: by 10.112.42.44 with SMTP id k12mr14777089lbl.63.1373454770824; Wed, 10 Jul 2013 04:12:50 -0700 (PDT) MIME-Version: 1.0 Sender: joshua.landau.ws@gmail.com In-Reply-To: References: From: Joshua Landau Date: Wed, 10 Jul 2013 12:12:10 +0100 X-Google-Sender-Auth: uQgxZLGBWlVCVo8pigTg-ndcWGQ Subject: =?UTF-8?Q?Re=3A_Stack_Overflow_moderator_=E2=80=9Canimuson=E2=80=9D?= To: python-list Content-Type: text/plain; charset=UTF-8 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373454772 news.xs4all.nl 15980 [2001:888:2000:d::a6]:33893 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50338 On 10 July 2013 08:55, Mats Peterson wrote: > . [anumuson from Stack Overflow] has deleted all > my postings regarding Python regular expression matching being > extremely slow compared to Perl. Additionally my account has been > suspended for 7 days. . Whilst I don't normally respond to trolls, I'm actually curious. Do you have any non-trivial, properly benchmarked real-world examples that this affects, remembering to use full Unicode support in Perl (as Python has it by default)? Remember to try on both major CPython versions, and PyPy -- all of which are in large-scale usage. Remember not just to use the builtin re module, as most people also use https://pypi.python.org/pypi/regex and https://code.google.com/p/re2/ when they are appropriate, so pathological cases for re aren't actually a concern anyone cares about. If you actually can satisfy these basic standards for a comparison (as I'm sure any competent person with so much bravo could) I'd be willing to converse with you. I'd like to see these results where Python compares as "extremely slow". Note that, by your own wording, a 30% drop is irrelevant.