]> granicus.if.org Git - python/commit
Optimize ascii/latin1+surrogateescape encoders
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Sep 2015 10:32:13 +0000 (12:32 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Sep 2015 10:32:13 +0000 (12:32 +0200)
commitc3713e9706e51bbd30958c27d35e7fda764b0c4a
tree43a7def678412164cfe0fdcbc0ac1250d7d3ab10
parent5fbeabcbb6ea1d4af91fea0bc96c3d01f47b728f
Optimize ascii/latin1+surrogateescape encoders

Issue #25227: Optimize ASCII and latin1 encoders with the ``surrogateescape``
error handler: the encoders are now up to 3 times as fast.

Initial patch written by Serhiy Storchaka.
Doc/whatsnew/3.6.rst
Lib/test/test_codecs.py
Misc/NEWS
Objects/unicodeobject.c