[New-bugs-announce] [issue11313] Speed up default encode()/decode()

Alexander Belopolsky report at bugs.python.org
Thu Feb 24 23:29:49 CET 2011


New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:

In Python 3.x default encoding is always utf-8, but encode()/decode() still try to look it up.  Attached patch eliminates a call to normalize_encoding and several strcmp() calls.

----------
files: default-encode.diff
keywords: patch
messages: 129318
nosy: belopolsky
priority: normal
severity: normal
status: open
title: Speed up default encode()/decode()
type: performance
versions: Python 3.3
Added file: http://bugs.python.org/file20879/default-encode.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11313>
_______________________________________


More information about the New-bugs-announce mailing list