[Python-Dev] Lazy_loading to pickle/unpickle_pure?

Victor Stinner victor.stinner at gmail.com
Sat Jul 1 18:27:42 EDT 2017


What is lazy loading? How does it work?

Victor

Le 1 juil. 2017 6:02 PM, "Bhavishya" <bhavishyagopesh at gmail.com> a écrit :

> Hi,
> I added lazy_loading in pickle.py.Here's some statistics if you consider
> them of any importance:
>
> 1)Unpickle_pure:
> Lazy -> unpickle_pure_python: Mean +- std dev: 728 us +- 24 us
>
> Original -> unpickle_pure_python: Mean +- std dev: 771 us +- 22 us
>
> 2)Pickle_pure:
>
> Lazy-> pickle_pure_python: Mean +- std dev: 919 us +- 18 us
>
> Orginal -> pickle_pure_python: Mean +- std dev: 1.04 ms +- 0.03 ms
>
> Thanks
> bhavishya
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170702/4113ea7b/attachment.html>


More information about the Python-Dev mailing list