Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy


Commits:
4d9c202f by Carl Friedrich Bolz-Tereick at 2022-04-18T22:21:51+02:00
experiment with globals cache again

this time most of the logic is in in the celldict strategy itself. it is
actually not using the version! instead, we introduce a second cell for every
name that is ever cached in a code object.

--HG--
branch : global-caching-again

- - - - -
98c1f47d by Carl Friedrich Bolz-Tereick at 2022-04-19T20:49:17+02:00
Module.w_dict is properly immutable I think?

--HG--
branch : global-caching-again

- - - - -
7b155534 by Carl Friedrich Bolz-Tereick at 2022-04-19T21:11:08+02:00
optimize STORE_GLOBAL too

--HG--
branch : global-caching-again

- - - - -
ee3b78c7 by Carl Friedrich Bolz-Tereick at 2022-04-19T21:23:37+02:00
support for LOAD_NAME too

--HG--
branch : global-caching-again

- - - - -
fa3c9f72 by Carl Friedrich Bolz-Tereick at 2022-04-21T14:21:31+02:00
support for caching of builtins

--HG--
branch : global-caching-again

- - - - -
3464b428 by Carl Friedrich Bolz-Tereick at 2022-04-22T13:54:42+02:00
restructure that code

--HG--
branch : global-caching-again

- - - - -
62639a37 by Carl Friedrich Bolz-Tereick at 2022-04-22T21:33:43+02:00
a comment and an assert

--HG--
branch : global-caching-again

- - - - -
6e989419 by Carl Friedrich Bolz-Tereick at 2022-04-23T13:29:33+02:00
merge global-caching-again:

speed up the interpreter by caching global and builtin lookups on the code
object

- - - - -
f143075a by Carl Friedrich Bolz-Tereick at 2022-04-23T19:40:15+02:00
this part of the test is just wrong

- - - - -
752667f5 by Carl Friedrich Bolz-Tereick at 2022-04-24T21:17:25+02:00
merge heads

- - - - -


7 changed files:

- pypy/interpreter/module.py
- pypy/interpreter/pycode.py
- pypy/interpreter/pyopcode.py
- pypy/objspace/std/celldict.py
- pypy/objspace/std/dictmultiobject.py
- pypy/objspace/std/test/test_celldict.py
- pypy/objspace/std/test/test_dictmultiobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/12ec098d550a29cca7689c01125bd8b29d45a128...752667f5e433522bd68ae45002c791aad29f15e1

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/12ec098d550a29cca7689c01125bd8b29d45a128...752667f5e433522bd68ae45002c791aad29f15e1
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to