Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; 'yet.': 0.04; 'expressions': 0.07; 'collier': 0.09; 'optimizing': 0.09; 'suggestions.': 0.09; 'systems.': 0.12; 'fyi,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thorough': 0.19; 'version.': 0.19; 'header:User-Agent:1': 0.23; 'header:In-Reply- To:1': 0.27; 'tried': 0.27; 'tim': 0.29; 'unix': 0.29; 'received:10.0.0': 0.31; 'lot.': 0.31; 'regular': 0.32; 'url:python': 0.33; 'everyone': 0.33; 'johnson': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'thanks': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; 'received:10': 0.37; 'thank': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; "you're": 0.61; 'july': 0.63; 'love': 0.65; 'taking': 0.65; 'articles': 0.65; 'latest': 0.67; 'response.': 0.68; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=WRUsoztIU6OrflDSEeg+8dFX2+w22uqdWT8SCCy9T/8=; b=th7Q2+Hnr4EJ2z1nFFU6UE7Wv0OsQjtXJLJHD7+p1P3V9d+UI6hvcWCT+J6PS5rx0F Q2ZDZXhHmngAmad5vPV9XjfVkRdvVckJpQNuJpjEGWGYoPf0qtC14mNHOksakkjaRVCa ydTAk8nY5dmiHMtHTSScUpElh8/xMksiTjVKqADArWrdzRkMDbZYIOzkJYYTMCoifvzo Z55njQ8nN21fLxQ4HdI4YFJGAT7UkO9hrBt3FwpNwEhfgx0N/cwuWZIzAnY8/qv3eMt9 s8PKcTdJxW/PcpL1PkOM1PbWxiINeV0rDjo0hhuEHzjnBiRdaus13GzAWZhECfRNYiqL wk1w== X-Received: by 10.43.164.129 with SMTP id ms1mr369788icc.74.1373970636276; Tue, 16 Jul 2013 03:30:36 -0700 (PDT) Date: Tue, 16 Jul 2013 06:30:33 -0400 From: Devyn Collier Johnson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: python-list@python.org Subject: Re: RE Module Performance References: <571a6dfe-fd66-42cf-92fc-8b97cbe6e9e4@googlegroups.com> <51DFDE65.5040001@Gmail.com> <51E043C5.1010804@Gmail.com> <51E08E36.5030108@mrabarnett.plus.com> In-Reply-To: <51E08E36.5030108@mrabarnett.plus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 1373970644 news.xs4all.nl 15886 [2001:888:2000:d::a6]:35896 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50738 Am 07/12/2013 07:16 PM, schrieb MRAB: > On 12/07/2013 23:16, Tim Delaney wrote: >> On 13 July 2013 03:58, Devyn Collier Johnson > > wrote: >> >> >> Thanks for the thorough response. I learned a lot. You should write >> articles on Python. >> I plan to spend some time optimizing the re.py module for Unix >> systems. I would love to amp up my programs that use that module. >> >> >> If you are finding that regular expressions are taking too much time, >> have a look at the https://pypi.python.org/pypi/re2/ and >> https://pypi.python.org/pypi/regex/2013-06-26 modules to see if they >> already give you enough of a speedup. >> > FYI, you're better off going to http://pypi.python.org/pypi/regex > because that will take you to the latest version. Thank you everyone for the suggestions. I have not tried them yet. Devyn Collier Johnson