New submission from Alexander Belopolsky <belopol...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11313>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to