[Python-Dev] Per opcode cache for LOAD_GLOBAL
brett at python.org
Wed May 29 12:45:33 EDT 2019
On Wed, May 29, 2019 at 6:21 AM Inada Naoki <songofacandy at gmail.com> wrote:
> Hi, all.
> Yury implemented per opcode cache for LOAD_GLOBAL,
> LOAD_ATTR, and LOAD_METHOD. 
> I update the patch for current master branch, but only for
> LOAD_GLOBAL for now.  It sped up LOAD_GLOBAL
> about 40%.  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?
Why would we want disable it?
> May I merge it before beta1 and polish (or revert) it by rc1?
I think that's an RM call.
> Or should I postpone it for 3.9?
That's obviously the simplest. :)
> : https://bugs.python.org/issue26219
> : https://github.com/python/cpython/pull/12884
> Inada Naoki <songofacandy at gmail.com>
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev