[pypy-commit] [Git][pypy/pypy][branch/default] make set.update with non-set arguments more jit-friendly by

Carl Friedrich Bolz-Tereick foss at heptapod.net
Mon Nov 30 07:36:41 EST 2020



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


Commits:
2a344f51 by Carl Friedrich Bolz-Tereick at 2020-11-30T13:33:38+01:00
make set.update with non-set arguments more jit-friendly by

- unrolling it if the number of args is small (usually 1)
- jitting the adding of new elements

fixes test_unpack_ex on PyPy3.7 as a side-effect

- - - - -


2 changed files:

- pypy/objspace/std/setobject.py
- pypy/objspace/std/test/test_setobject.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/commit/2a344f51986d01972a4cfee86caf00fc07f3b0e2

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/2a344f51986d01972a4cfee86caf00fc07f3b0e2
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/20201130/4bcbfb20/attachment-0001.html>


More information about the pypy-commit mailing list