(original) (raw)

What is lazy loading? How does it work?

Victor

Le 1 juil. 2017 6:02 PM, "Bhavishya" <bhavishyagopesh@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