Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy
Commits: 23472c0a by Carl Friedrich Bolz-Tereick at 2022-05-28T22:40:27+02:00 change the way that space.lookup(w_obj, "<fixed string>") calls are cached: don't do it on the w_type, but on the rpython class --HG-- branch : space-lookup-cleanups - - - - - 1db6eb2e by Carl Friedrich Bolz-Tereick at 2022-05-28T22:41:25+02:00 use %T instead of %N in error messages --HG-- branch : space-lookup-cleanups - - - - - f53ff897 by Carl Friedrich Bolz-Tereick at 2022-05-28T22:42:31+02:00 specialize _call_binop_impl on the special method names to be able to use the cache of space.lookup_in_type_where --HG-- branch : space-lookup-cleanups - - - - - 40cebbf8 by Carl Friedrich Bolz-Tereick at 2022-05-29T09:18:24+02:00 remove debug print --HG-- branch : space-lookup-cleanups - - - - - 8ee22966 by Carl Friedrich Bolz-Tereick at 2022-05-29T17:25:43+02:00 micro-opt --HG-- branch : space-lookup-cleanups - - - - - f6921414 by Carl Friedrich Bolz-Tereick at 2022-05-29T20:39:22+02:00 two improvements to space operations: - rewrite the translation-time lookup caching to work on the *RPython* class instead of the W_TypeObjects. this makes the latter smaller and saves us having to call space.type(w_obj) first. - fix caching of binary ops by using a @specialize - - - - - 251929c6 by Carl Friedrich Bolz-Tereick at 2022-05-29T20:40:19+02:00 merge heads - - - - - 3 changed files: - pypy/goal/targetpypystandalone.py - pypy/objspace/descroperation.py - pypy/tool/ann_override.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/72f29b200d6ec89fd545f7d3c7da39fde7af5c46...251929c6575ebd023e0266f68923e37a635db08e -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/72f29b200d6ec89fd545f7d3c7da39fde7af5c46...251929c6575ebd023e0266f68923e37a635db08e 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