[pypy-commit] [Git][pypy/pypy][branch/py3.7] 8 commits: - cache the results of getting info from mercurial

Carl Friedrich Bolz-Tereick (@cfbolz) foss at heptapod.net
Sun Nov 28 07:37:29 EST 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/py3.7 at PyPy / pypy


Commits:
33f94f18 by Carl Friedrich Bolz-Tereick at 2021-11-26T22:04:31+01:00
- cache the results of getting info from mercurial
- only call mercurial twice, not four times by using a template

this is somewhat silly but it saves 1s per test run on my machine

- - - - -
e95384f3 by Carl Friedrich Bolz-Tereick at 2021-11-27T20:26:02+01:00
when calling space.newtext before and during annotation, try to see whether the
argument exists as an interned string. This shares W_UnicodeObject prebuilt
instances and saves over a MiB of binary size.

--HG--
branch : py3.7

- - - - -
47ca30a3 by Carl Friedrich Bolz-Tereick at 2021-11-27T21:47:27+01:00
like on the py3.x branches, memoize the newtext calls before/during annotation

- - - - -
95f33d77 by Carl Friedrich Bolz-Tereick at 2021-11-27T22:32:20+01:00
remove really old outdated file

- - - - -
c11d741e by Carl Friedrich Bolz-Tereick at 2021-11-28T13:21:52+01:00
untranslated charp2str in its full generality is reeeeaaally slow, which is bad
for applevel tests. have a we_are_translated version

- - - - -
656bcee8 by Carl Friedrich Bolz-Tereick at 2021-11-28T13:23:30+01:00
cache compiler failures too in try_compile_cache

- - - - -
7099b139 by Carl Friedrich Bolz-Tereick at 2021-11-28T13:24:35+01:00
only compute the Some* type once, not every time we call a type checked function

- - - - -
4257b9c2 by Carl Friedrich Bolz-Tereick at 2021-11-28T13:34:48+01:00
merge default

--HG--
branch : py3.7

- - - - -


7 changed files:

- pypy/objspace/std/objspace.py
- rpython/rlib/objectmodel.py
- rpython/rtyper/lltypesystem/rffi.py
- − rpython/rtyper/tool/genrffi.py
- rpython/tool/gcc_cache.py
- rpython/tool/test/test_gcc_cache.py
- rpython/tool/version.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/4bda3b4a9750a83ec2c03f30fbe61138ae9701d7...4257b9c243490fb838d76d36e123f749b73576ed

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/4bda3b4a9750a83ec2c03f30fbe61138ae9701d7...4257b9c243490fb838d76d36e123f749b73576ed
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/20211128/743eb11f/attachment.html>


More information about the pypy-commit mailing list