[Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement? (original) (raw)
Barry Warsaw barry at python.org
Wed Sep 19 21:25:07 EDT 2018
- Previous message (by thread): [Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement?
- Next message (by thread): [Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sep 19, 2018, at 20:34, Gregory P. Smith <greg at krypto.org> wrote:
There's ongoing work to rewrite zipimport.c in python using zipfile itself
Great timing! Serhiy’s rewrite of zipimport in Python has just landed in 3.8, although it doesn’t use zipfile. What’s in git now is a pretty straightforward translation from the original C, so it could use some clean ups (and I think Serhiy is planning that). So the problem you describe should be easier to fix now in 3.8. It would be interesting to see if we can squeeze more performance and better behavior out of it now that it’s in Python.
-Barry
-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Message signed with OpenPGP URL: <http://mail.python.org/pipermail/python-dev/attachments/20180919/c22be7a7/attachment.sig>
- Previous message (by thread): [Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement?
- Next message (by thread): [Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]