Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31941

Re: get each pair from a string.

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.079
X-Spam-Evidence '*H*': 0.84; '*S*': 0.00; 'false.': 0.07; 'python': 0.09; 'regression': 0.09; '3.2.': 0.16; "isn't.": 0.16; 'oct': 0.16; 'wrote:': 0.17; 'previously': 0.18; '3.2': 0.22; 'patch': 0.24; 'non': 0.24; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'case,': 0.29; 'no,': 0.29; 'received:209.85.215.46': 0.30; 'to:addr:python-list': 0.33; 'progress': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'board': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'be.': 0.36; 'uses': 0.37; 'ones': 0.37; 'previous': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'claim': 0.60; "you've": 0.61; 'latest': 0.61; 'results': 0.65; 'soon': 0.70; 'subject:get': 0.81; '3.4': 0.84; 'to:name:python': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=NDaBSYK8Vd5TozBjHMlcjhCeedtNuxjSFDL4RzFssEk=; b=1KLSUgR+bcAVWm8CuC4TZhcNJy52qlJx2wvhM6O/KcGDe2VHwBrw7dg5JoWjpWmVfU CreFwEbHHLqfCs4FMtzHkGMWhyrGDUdozyB/30dMOichrrecqsz/Vu4+HwzitxaqQoDn F+lU6zBg2GqTnaX87qh8Pk+su5Q6uWHXAnDaNqiRtBU1fXiIv5fvzZRLuPqhNNTrUFeq GddK67OlhhRtob3RzuJdkSFYSUnuhblUSU+6AdFjmvXlnzPnP9I3CBgZopjkzQ0b8P9E IMVGfIxHe/DCSLrW0Nlir55A25NfMn5FU4iFGRfQby1lFdnyaJWQxFFTaP1yRN5ufjqB 8LGw==
MIME-Version 1.0
In-Reply-To <7fdadf96-2ec2-43c7-a5e2-74228c06faca@googlegroups.com>
References <CALyJZZURWQxgPTQcQo8kOdHkaOYbB6YE=U=vi6VrX9FoDH1gAQ@mail.gmail.com> <mailman.2594.1350845107.27098.python-list@python.org> <1a8e1d4b-dddc-48c6-aec8-8041bb559a30@u4g2000pbo.googlegroups.com> <177aa300-9863-44f3-94da-7bc11bff2eda@i7g2000pbf.googlegroups.com> <7fdadf96-2ec2-43c7-a5e2-74228c06faca@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Tue, 23 Oct 2012 10:41:09 -0600
Subject Re: get each pair from a string.
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2674.1351010504.27098.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351010504 news.xs4all.nl 6972 [2001:888:2000:d::a6]:39812
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31941

Show key headers only | View raw


On Tue, Oct 23, 2012 at 12:47 AM,  <wxjmfauth@gmail.com> wrote:
> The latest Python version is systematically slower
> than the previous ones as soon as one uses non "ascii
> strings".

No, it isn't.  You've previously demonstrated a *microbenchmark* where
3.3 is slower than 3.2.  This is a far cry from demonstrating that 3.3
is "systematically slower", and that larger claim is simply false.

In any case, have you been following the progress of issue 16061?
There is a patch for the str.replace regression that you identified,
which results in better performance across the board than 3.2.  So
although 3.3 is slower than 3.2 on this one microbenchmark, 3.4 will
not be.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: get each pair from a string. rusi <rustompmody@gmail.com> - 2012-10-22 09:19 -0700
  Re: get each pair from a string. rusi <rustompmody@gmail.com> - 2012-10-22 21:59 -0700
    Re: get each pair from a string. wxjmfauth@gmail.com - 2012-10-22 23:47 -0700
      Re: get each pair from a string. Neil Cerutti <neilc@norwich.edu> - 2012-10-23 12:30 +0000
      Re: get each pair from a string. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-23 13:44 +0100
      Re: get each pair from a string. Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-23 10:41 -0600
        Re: get each pair from a string. wxjmfauth@gmail.com - 2012-10-24 02:32 -0700
          Re: get each pair from a string. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-24 13:14 +0100
        Re: get each pair from a string. wxjmfauth@gmail.com - 2012-10-24 02:32 -0700

csiph-web