[New-bugs-announce] [issue14625] Faster utf-32 decoder

Serhiy Storchaka report at bugs.python.org
Thu Apr 19 22:59:57 CEST 2012

New submission from Serhiy Storchaka <storchaka at gmail.com>:

I suggest two variants of patch, accelerating the utf-32 decoder. With PEP 393 utf-32 decoder slowed down up to 2x, these patches returns a performance at the level of Python 3.2 and even much higher (2-3x over 3.2). The variant A is simpler, but the variant B is a little faster (+8-15%).

components: Interpreter Core
files: decode_utf32_a.patch
keywords: patch
messages: 158749
nosy: storchaka
priority: normal
severity: normal
status: open
title: Faster utf-32 decoder
type: performance
versions: Python 3.3
Added file: http://bugs.python.org/file25278/decode_utf32_a.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list