Re: [Python-Dev] Python startup optimization: script vs. service

2017年10月02日 08:05:31 -0700

2017年10月02日 16:48 GMT+02:00 Christian Heimes <[email protected]>:
> That approach could work, but I think that it is the wrong approach. I'd
> rather keep Python optimized for long-running processes and introduce a
> new mode / option to optimize for short-running scripts.
"Filling caches on demand" is an old pattern. I don't think that we
are doing anything new here.
If we add an opt-in option, I would prefer to have an option to
explicitly "fill caches", rather than the opposite.
I know another example of "lazy cache": base64.b85encode() fills a
cache at the first call.
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to