[pypy-commit] [Git][pypy/pypy][branch/special-method-shortcut] 2 commits: add a shortcut for is_true to at least check for the two bools first, before

Carl Friedrich Bolz-Tereick (@cfbolz) foss at heptapod.net
Sun Feb 20 07:11:55 EST 2022



Carl Friedrich Bolz-Tereick pushed to branch branch/special-method-shortcut at PyPy / pypy


Commits:
50c94947 by Carl Friedrich Bolz-Tereick at 2022-02-20T13:03:49+01:00
add a shortcut for is_true to at least check for the two bools first, before
doing any lookups

--HG--
branch : special-method-shortcut

- - - - -
8fcc50fc by Carl Friedrich Bolz-Tereick at 2022-02-20T13:05:05+01:00
try to generalize the whole shortcut approach

--HG--
branch : special-method-shortcut

- - - - -


5 changed files:

- pypy/interpreter/baseobjspace.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/typedef.py
- pypy/objspace/descroperation.py
- pypy/objspace/std/listobject.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/50ba0a9ccc6dda080f735046651ac714fc3fa93d...8fcc50fc3f22fc5cd8a9aff07ca6a57573a0d65d

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/50ba0a9ccc6dda080f735046651ac714fc3fa93d...8fcc50fc3f22fc5cd8a9aff07ca6a57573a0d65d
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20220220/3c3358cd/attachment.html>


More information about the pypy-commit mailing list