[Python-Dev] Per opcode cache for LOAD_GLOBAL (original) (raw)
Inada Naoki songofacandy at gmail.com
Wed May 29 09:19:25 EDT 2019
- Previous message (by thread): [Python-Dev] PEP 590: vectorcall without tp_call
- Next message (by thread): [Python-Dev] Per opcode cache for LOAD_GLOBAL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, all.
Yury implemented per opcode cache for LOAD_GLOBAL, LOAD_ATTR, and LOAD_METHOD. 1
I update the patch for current master branch, but only for LOAD_GLOBAL for now. 2 It sped up LOAD_GLOBAL about 40%. 3 It is attractive optimization.
Now 3.8b1 will be coming soon, but the pull request is not reviewed well yet. For example, should we add some switch to disable the cache?
May I merge it before beta1 and polish (or revert) it by rc1? Or should I postpone it for 3.9?
Regards,
-- Inada Naoki <songofacandy at gmail.com>
- Previous message (by thread): [Python-Dev] PEP 590: vectorcall without tp_call
- Next message (by thread): [Python-Dev] Per opcode cache for LOAD_GLOBAL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]