|
Original |
Translation |
|
2870
|
(Contributed by Antoine Pitrou, :issue:`4688`.)
|
|
|
2871
|
Enabling a configure option named ``--with-computed-gotos`` on compilers that support it (notably: gcc, SunPro, icc), the bytecode evaluation loop is compiled with a new dispatch mechanism which gives speedups of up to 20%, depending on the system, the compiler, and the benchmark.
|
|
|
2872
|
(Contributed by Antoine Pitrou along with a number of other participants, :issue:`4753`).
|
|
|
2873
|
The decoding of UTF-8, UTF-16 and LATIN-1 is now two to four times faster.
|
|
|
2874
|
|
2875
|
The :mod:`json` module now has a C extension to substantially improve its performance. In addition, the API was modified so that json works only with :class:`str`, not with :class:`bytes`. That change makes the module closely match the `JSON specification <http://json.org/>`_ which is defined in terms of Unicode.
|
|
|
2876
|
(Contributed by Bob Ippolito and converted to Py3.1 by Antoine Pitrou and Benjamin Peterson; :issue:`4136`.)
|
|
|
2877
|
Unpickling now interns the attribute names of pickled objects. This saves memory and allows pickles to be smaller.
|
|
|
2878
|
(Contributed by Jake McGuire and Antoine Pitrou; :issue:`5084`.)
|
|
|
2879
|
|
|