[Python-Dev] Can I make marshal.dumps() slower but stabler? (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Thu Jul 12 07:29:17 EDT 2018


On Thu, 12 Jul 2018 09:21:55 +0300 Serhiy Storchaka <storchaka at gmail.com> wrote:

> Is there any real application which marshal.dumps() performance is critical? EVE Online is a well known example. What if write a script which loads .pyc files and stabilize them? This could solve the problem for applications which need stable .pyc files, with zero impact on common use.

Should python-dev maintain that script? If yes, it sounds better to make marshal itself deterministic.

Regards

Antoine.



More information about the Python-Dev mailing list