diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-10 15:40:25 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-10 15:40:25 (GMT) |
commit | ab868311a5282f188a8cf831b021938420fee5c4 (patch) | |
tree | 3cc64bd3d02080c72cf32f088c490901c0054644 /Misc | |
parent | dd6351e6b1ec1b70b29e6b6f55014b6fad6b0571 (diff) | |
download | cpython-ab868311a5282f188a8cf831b021938420fee5c4.zip cpython-ab868311a5282f188a8cf831b021938420fee5c4.tar.gz cpython-ab868311a5282f188a8cf831b021938420fee5c4.tar.bz2 |
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).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 3.1 alpha 0 Core and Builtins ----------------- +- 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. + - Issue #4074: Change the criteria for doing a full garbage collection (i.e. collecting the oldest generation) so that allocating lots of objects without destroying them does not show quadratic performance. Based on a proposal by |