[New-bugs-announce] [issue14624] Faster utf-16 decoder

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

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

I propose a patch, which accelerates the utf-16 decoder. With PEP 393 utf-16 decoder slowed down a few times (3-4x), this patch returns the performance at the level of Python 3.2 and even higher (+10-30% over 3.2).

In addition, it fixes a few bugs in the utf-16 decoder. Also as a side effect is possible acceleration of other decoders.

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

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list