[pypy-commit] [Git][pypy/pypy][branch/default] - cache the results of getting info from mercurial

Carl Friedrich Bolz-Tereick (@cfbolz) foss at heptapod.net
Fri Nov 26 16:05:07 EST 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/default 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

- - - - -


1 changed file:

- rpython/tool/version.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/33f94f1874cc6140853ce72801d7a81437291dd4

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/33f94f1874cc6140853ce72801d7a81437291dd4
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/20211126/6175e0de/attachment.html>


More information about the pypy-commit mailing list