[Python-Dev] Python 3.4, marshal dumps slower (version 3 protocol)

Brett Cannon brett at python.org
Mon Jan 27 17:02:36 CET 2014


On Mon, Jan 27, 2014 at 10:42 AM, Paul Moore <p.f.moore at gmail.com> wrote:

> On 27 January 2014 15:35, Victor Stinner <victor.stinner at gmail.com> wrote:
> > Version 2 is the fastest in Python 3.3 and 3.4, but version 4 with
> > Python 3.4 produces the smallest file.
>
> Which version is used when creating pyc files? This benchmark might
> suggest that version 2 is the best...
>

Importlib just uses the default:
http://hg.python.org/cpython/file/dbad4564cd12/Lib/importlib/_bootstrap.py#l671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140127/fb679097/attachment.html>


More information about the Python-Dev mailing list