<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 29, 2019 at 6:21 AM Inada Naoki <<a href="mailto:songofacandy@gmail.com">songofacandy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, all.<br>
<br>
Yury implemented per opcode cache for LOAD_GLOBAL,<br>
LOAD_ATTR, and LOAD_METHOD.  [1]<br>
<br>
I update the patch for current master branch, but only for<br>
LOAD_GLOBAL for now. [2]  It sped up LOAD_GLOBAL<br>
about 40%. [3]  It is attractive optimization.<br>
<br>
Now 3.8b1 will be coming soon, but the pull request is not<br>
reviewed well yet.<br>
For example, should we add some switch to disable the cache?<br></blockquote><div><br></div><div>Why would we want disable it?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
May I merge it before beta1 and polish (or revert) it by rc1?<br></blockquote><div><br></div><div>I think that's an RM call.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Or should I postpone it for 3.9?<br></blockquote><div><br></div><div>That's obviously the simplest. :)</div><div><br></div><div>-Brett<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards,<br>
<br>
[1]: <a href="https://bugs.python.org/issue26219" rel="noreferrer" target="_blank">https://bugs.python.org/issue26219</a><br>
[2]: <a href="https://github.com/python/cpython/pull/12884" rel="noreferrer" target="_blank">https://github.com/python/cpython/pull/12884</a><br>
[3]: <a href="https://github.com/methane/sandbox/tree/master/2019/opcache_load_global#opcache-for-load_global" rel="noreferrer" target="_blank">https://github.com/methane/sandbox/tree/master/2019/opcache_load_global#opcache-for-load_global</a><br>
<br>
-- <br>
Inada Naoki  <<a href="mailto:songofacandy@gmail.com" target="_blank">songofacandy@gmail.com</a>><br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div></div>