[pypy-commit] [Git][pypy/pypy][branch/py3.9] 22 commits: doesn't seem to save a lot of time, but it makes pyc files 40% smaller: use the

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



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


Commits:
a2aba867 by Carl Friedrich Bolz-Tereick at 2021-11-24T16:31:07+01:00
doesn't seem to save a lot of time, but it makes pyc files 40% smaller: use the
ascii codes when marshalling unicode strings that store only ascii chars

--HG--
branch : py3.9

- - - - -
eea33a02 by Matti Picus at 2021-11-26T11:44:18+02:00
help leakcheck tests pass on windows

- - - - -
e6f9b262 by Matti Picus at 2021-11-26T11:45:12+02:00
merge default

--HG--
branch : py3.7

- - - - -
698ceda6 by Matti Picus at 2021-11-26T12:49:17+02:00
seems to need a gc.collect in the test when run with a pypy host python2

--HG--
branch : py3.7

- - - - -
eb31f607 by Matti Picus at 2021-11-26T12:50:09+02:00
fix for win64, where the value can overflow (issue 3604)

--HG--
branch : py3.7

- - - - -
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

- - - - -
f3d6e1bc by Carl Friedrich Bolz-Tereick at 2021-11-26T23:13:49+01:00
let new_interned_str do the newtext call, that's cheaper because it's not
necessary on a cache hit

--HG--
branch : py3.7

- - - - -
d46f3537 by Carl Friedrich Bolz-Tereick at 2021-11-26T23:59:05+01:00
argh, make sure that when building a class, running the class body happens in a
namespace that is a moduledict, not a regular empty dict

--HG--
branch : py3.7

- - - - -
0a0cdcd7 by Carl Friedrich Bolz-Tereick at 2021-11-27T12:50:46+01:00
this needs to make a moduledict too, to fix
test_make_sure_namespace_in_class_is_moduledict

--HG--
branch : py3.7

- - - - -
316dabe0 by Carl Friedrich Bolz-Tereick at 2021-11-27T13:00:03+01:00
fix marshal docstring

--HG--
branch : py3.7

- - - - -
ed0af12f by Carl Friedrich Bolz-Tereick at 2021-11-27T13:15:49+01:00
this todo has been fixed with the previous commit

--HG--
branch : py3.7

- - - - -
4bda3b4a by Carl Friedrich Bolz-Tereick at 2021-11-27T13:36:22+01:00
implement _opcode.stack_effect

--HG--
branch : py3.7

- - - - -
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

- - - - -
6bfc739f by Carl Friedrich Bolz-Tereick at 2021-11-28T13:36:26+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
0ebffcd5 by Carl Friedrich Bolz-Tereick at 2021-11-28T13:36:42+01:00
merge py3.9

--HG--
branch : py3.9

- - - - -
4f640c0c by Carl Friedrich Bolz-Tereick at 2021-11-28T13:37:16+01:00
merge heads

--HG--
branch : py3.9

- - - - -


22 changed files:

- pypy/config/pypyoption.py
- pypy/interpreter/pycode.py
- pypy/module/__builtin__/compiling.py
- pypy/module/__builtin__/test/apptest_compile.py
- + pypy/module/_opcode/__init__.py
- + pypy/module/_opcode/interp_opcode.py
- + pypy/module/_opcode/moduledef.py
- + pypy/module/_opcode/test/__init__.py
- + pypy/module/_opcode/test/apptest_opcode.py
- pypy/module/array/interp_array.py
- pypy/module/array/test/test_array.py
- pypy/module/marshal/moduledef.py
- pypy/module/marshal/test/test_marshalimpl.py
- pypy/objspace/std/marshal_impl.py
- pypy/objspace/std/objspace.py
- pypy/objspace/std/typeobject.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/9f9f5d945a5637ae7abe549d536334e4bcd00d68...4f640c0ce23369b02aba6c17a2ed64e8b9a93bef

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/9f9f5d945a5637ae7abe549d536334e4bcd00d68...4f640c0ce23369b02aba6c17a2ed64e8b9a93bef
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/3b4c262e/attachment-0001.html>


More information about the pypy-commit mailing list