Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!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.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'broken': 0.04; 'string': 0.09; 'ascii': 0.09; 'collier': 0.09; 'encode': 0.09; 'python': 0.11; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'variable': 0.18; 'bytes': 0.24; 'comparing': 0.24; 'versions': 0.24; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'to:name :python-list': 0.33; 'used,': 0.33; 'could': 0.34; 'basic': 0.35; 'johnson': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'to:addr:python-list': 0.38; 'previous': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'interested,': 0.61; 'new': 0.61; 'range': 0.61; "you're": 0.61; 'july': 0.63; 'to:addr:gmail.com': 0.65; '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=OC+PTqT0iCI/RdWBtDUWW04qDvRwEWF8jWgFOLbkLW0=; b=E1OMTsTd0bMnjQzFoqb9QL3wBpZ0GATBRb/x1Ir0qRYaBT5sPx5iAGZjAAXNaK2MbR plDbIDs2f8rmGnnoX82rEPWzZL8BKH2qcZ09QXLk4uapqjqoQFz+GpTvaABEInghNuZQ 7fBHFSwfSFOvvZAP2mtMlkcaY+xQQWdO4tz0pMr/5/O/W5EfKhvhb5wmxtfzpmvTo6Kt tUjKx9eD320r38235bgx8WcZ6ycw0viz+qddzowDnyBcZTOuBJv8QwDsp2tWM43V04fW 83FfpOkgIzBuESIzzyRADZL84zvh0k2iQ8zyBq3kef986PlT9gy2uPGWR1qDEmk+8quS 3a/w== X-Received: by 10.152.20.40 with SMTP id k8mr20289480lae.25.1373644801601; Fri, 12 Jul 2013 09:00:01 -0700 (PDT) MIME-Version: 1.0 Sender: joshua.landau.ws@gmail.com In-Reply-To: <51DFDE65.5040001@Gmail.com> References: <571a6dfe-fd66-42cf-92fc-8b97cbe6e9e4@googlegroups.com> <51DFDE65.5040001@Gmail.com> From: Joshua Landau Date: Fri, 12 Jul 2013 16:59:21 +0100 X-Google-Sender-Auth: idkZh1bup27uxn3BB3O39Q7CTiw Subject: Re: RE Module Performance To: Devyn Collier Johnson , 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373644803 news.xs4all.nl 15890 [2001:888:2000:d::a6]:58039 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50537 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.