SIGN IN SIGN UP

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.
V
Victor Stinner committed
c3713e9706e51bbd30958c27d35e7fda764b0c4a
Parent: 5fbeabc