Guido van Rossum <gu...@python.org> added the comment:

I would propose that marshal internally make an extra pass over its input in 
order to determine which objects are referenced multiple times. This will speed 
up reading marshalled data (in addition to addressing the reproducibility issue 
with debug builds) at the cost of slowing down writing it, so there may need to 
be a way for 3rd party users to turn this off (or a way for importlib and 
compileall to turn it on).

----------
nosy: +gvanrossum

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45186>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to