Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'string': 0.09; 'lawrence': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rewrite': 0.09; 'jan': 0.12; 'discussion.': 0.16; 'mark,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:UTF': 0.16; 'subject:optimization': 0.16; 'url:whatsnew': 0.16; 'wrote:': 0.18; 'written': 0.21; 'header:User-Agent:1': 0.23; 'refers': 0.24; 'url:dev': 0.24; 'references': 0.26; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'url:bugs': 0.29; 'patch': 0.29; 'url:python': 0.33; 'everyone': 0.33; '"the': 0.34; 'could': 0.34; 'anybody': 0.35; 'but': 0.35; 'done': 0.36; 'url:org': 0.36; 'searching': 0.37; 'work?': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'that,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'full': 0.61; 'new': 0.61; 'url:3': 0.61; 'received:173': 0.61; 'details,': 0.68; 'url:4': 0.69; 'faster.': 0.84; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: UTF-32 decoder optimization in Python 3.4 Date: Mon, 11 Nov 2013 21:11:48 -0500 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-59-117-133.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384222321 news.xs4all.nl 15898 [2001:888:2000:d::a6]:49551 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59144 On 11/11/2013 4:41 PM, Mark Lawrence wrote: > From http://docs.python.org/dev/whatsnew/3.4.html#optimizations "The > UTF-32 decoder is now 3x to 4x faster.". Does anybody have any > references to this work? All I can find is the 3.3 what's new which > refers to PEP 393 (Flexible String Representation) optimizations as a > result of work done by Serhiy Storchaka on issues 14624, 14738 and 15026. The second line at the top has "For full details, see the changelog." where changelog links to http://docs.python.org/3.4/whatsnew/changelog.html Searching that for 'UTF-34' goes to this line "Issue #14625: Rewrite the UTF-32 decoder. It is now 3x to 4x faster. Patch written by Serhiy Storchaka." where 'Issue #14625' links to http://bugs.python.org/issue14625 with full discussion. (I know that you, Mark, could have found that, but not everyone reading could.) -- Terry Jan Reedy