Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'broken': 0.04; 'string': 0.09; 'ascii': 0.09; 'collier': 0.09; 'encode': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'url:peps': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'header :User-Agent:1': 0.23; 'bytes': 0.24; 'comparing': 0.24; 'url:dev': 0.24; 'versions': 0.24; 'values': 0.27; 'header:X-Complaints- To:1': 0.27; 'newer': 0.30; 'url:python': 0.33; 'used,': 0.33; 'could': 0.34; 'basic': 0.35; 'johnson': 0.35; 'really': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'previous': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'interested,': 0.61; 'new': 0.61; 'range': 0.61; "you're": 0.61; 'july': 0.63; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: Re: RE Module Performance Date: Fri, 12 Jul 2013 18:15:11 +0200 Organization: None References: <571a6dfe-fd66-42cf-92fc-8b97cbe6e9e4@googlegroups.com> <51DFDE65.5040001@Gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p508487e1.dip0.t-ipconnect.de User-Agent: KNode/4.7.3 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373645725 news.xs4all.nl 15915 [2001:888:2000:d::a6]:43527 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50539 Joshua Landau wrote: > On 12 July 2013 11:45, Devyn Collier Johnson > wrote: >> Could you explain what you mean? What and where is the new Flexible >> String Representation? > > Do not worry. jmf is on about his old rant comparing broken previous > versions of Python to newer ones which in some microbenchmarks are > slower. I don't really get why he spends his time on it. > > If you're interested, the basic of it is that strings now use a > variable number of bytes to encode their values depending on whether > values outside of the ASCII range and some other range are used, as an > optimisation. See also