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


Groups > comp.lang.python > #59144

Re: UTF-32 decoder optimization in Python 3.4

From Terry Reedy <tjreedy@udel.edu>
Subject Re: UTF-32 decoder optimization in Python 3.4
Date 2013-11-11 21:11 -0500
References <l5riul$7ai$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.2424.1384222321.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

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


Thread

Re: UTF-32 decoder optimization in Python 3.4 Terry Reedy <tjreedy@udel.edu> - 2013-11-11 21:11 -0500
  Re: UTF-32 decoder optimization in Python 3.4 wxjmfauth@gmail.com - 2013-11-12 10:25 -0800
    Re: UTF-32 decoder optimization in Python 3.4 Terry Reedy <tjreedy@udel.edu> - 2013-11-12 20:25 -0500
      Re: UTF-32 decoder optimization in Python 3.4 wxjmfauth@gmail.com - 2013-11-12 23:14 -0800

csiph-web