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


Commits:
a0230372 by Carl Friedrich Bolz-Tereick at 2021-05-02T21:42:57+02:00
try to cache the result of space.newtext during translation, if the argument is
constant

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
6d3a67b3 by Carl Friedrich Bolz-Tereick at 2021-05-02T21:48:25+02:00
add a test

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
ff6bffdd by Carl Friedrich Bolz-Tereick at 2021-05-02T21:48:57+02:00
stop using rpython unicode

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
c593e273 by Carl Friedrich Bolz-Tereick at 2021-05-02T22:02:09+02:00
less unicode use

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
54ba673c by Carl Friedrich Bolz-Tereick at 2021-05-09T20:17:09+02:00
merge py3.7

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
08daa0a3 by Carl Friedrich Bolz-Tereick at 2021-05-10T09:36:05+02:00
passing unicode into newtext is no longer supported

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
95b57249 by Carl Friedrich Bolz-Tereick at 2021-05-10T11:11:47+02:00
document branch

--HG--
branch : py3.7-newtext-const-arg-caching

- - - - -
02f0760f by Carl Friedrich Bolz-Tereick at 2021-05-10T15:45:50+02:00
merge py3.7-newtext-const-arg-caching

make space.newtext('<some constant>') not allocate new 
W_UnicodeObjects again
and again, after translation (which would also check the utf8-ness repeatedly).
instead, construct a singleton during translation time

--HG--
branch : py3.7

- - - - -
fef67e4d by Carl Friedrich Bolz-Tereick at 2021-05-10T15:50:41+02:00
merge py3.7-newtext-const-arg-caching again

--HG--
branch : py3.7

- - - - -


7 changed files:

- pypy/doc/whatsnew-pypy3-head.rst
- pypy/module/_csv/interp_reader.py
- pypy/module/cpyext/unicodeobject.py
- pypy/module/select/interp_select.py
- pypy/objspace/std/objspace.py
- pypy/objspace/std/test/test_stdobjspace.py
- + pypy/objspace/std/test/test_translate.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/f8769e8953b0e44233628accd5592e34dd5d4546...fef67e4da31d1ba533b4b1a5e2a894e0f745dbc6

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


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to