Issue #23344: marshal.dumps() is now 20-25% faster on average.

This commit is contained in:
Serhiy Storchaka 2015-02-11 15:54:54 +02:00
parent ce921c62cc
commit c1efe5f039
3 changed files with 68 additions and 24 deletions

View file

@ -381,8 +381,9 @@ The following performance enhancements have been added:
* Many operations on :class:`io.BytesIO` are now 50% to 100% faster.
(Contributed by Serhiy Storchaka in :issue:`15381`.)
* :func:`marshal.dumps` with versions 3 and 4 is now 40-50% faster on average.
(Contributed by Serhiy Storchaka in :issue:`20416`.)
* :func:`marshal.dumps` is now faster (65%-85% with versions 3--4, 20-25% with
versions 0--2 on typical data, and up to 5x in best cases).
(Contributed by Serhiy Storchaka in :issue:`20416` and :issue:`23344`.)
Build and C API Changes