]> granicus.if.org Git - python/commit
Issue #4868: utf-8, utf-16 and latin1 decoding are now 2x to 4x faster. The
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 10 Jan 2009 15:40:25 +0000 (15:40 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 10 Jan 2009 15:40:25 +0000 (15:40 +0000)
commitab868311a5282f188a8cf831b021938420fee5c4
tree3cc64bd3d02080c72cf32f088c490901c0054644
parentdd6351e6b1ec1b70b29e6b6f55014b6fad6b0571
Issue #4868: utf-8, utf-16 and latin1 decoding are now 2x to 4x faster. The
common cases are optimized thanks to a dedicated fast path and a moderate
amount of loop unrolling.

This will especially help text I/O (we already register a 30% speedup on large
reads on the io-c branch).
Misc/NEWS
Objects/unicodeobject.c