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


Commits:
3d4a0029 by Carl Friedrich Bolz-Tereick at 2022-04-25T19:16:54+02:00
a branch to experiment using GCREFs to do type erasure using GCREFs (instead of
the base instance struct, which excludes erasing things like strs and lists of
lists)

--HG--
branch : gcref-based-type-erasure

- - - - -
6f164215 by Carl Friedrich Bolz-Tereick at 2022-04-25T19:18:15+02:00
cache on the rtyper, not globally

--HG--
branch : gcref-based-type-erasure

- - - - -
2a6f7de3 by Carl Friedrich Bolz-Tereick at 2022-04-25T20:30:38+02:00
- make gcref erasure opt in, and use it only for lists for now
- fix dict.items problems

--HG--
branch : gcref-based-type-erasure

- - - - -
474e07d4 by Carl Friedrich Bolz-Tereick at 2022-04-25T20:31:02+02:00
not everything has an ll_str method

--HG--
branch : gcref-based-type-erasure

- - - - -
16c93bcc by Carl Friedrich Bolz-Tereick at 2022-04-25T21:48:18+02:00
fix str/unicode split, rsplit, splitlines

--HG--
branch : gcref-based-type-erasure

- - - - -
a77edf14 by Carl Friedrich Bolz-Tereick at 2022-04-26T12:35:22+02:00
making the values gcrefs just works

--HG--
branch : gcref-based-type-erasure

- - - - -
1ddec8ed by Carl Friedrich Bolz-Tereick at 2022-04-26T15:54:53+02:00
support a dummy value for gcref

--HG--
branch : gcref-based-type-erasure

- - - - -
5a5030f1 by Carl Friedrich Bolz-Tereick at 2022-05-26T15:21:07+02:00
fix test on pypy

--HG--
branch : gcref-based-type-erasure

- - - - -
b9a4fb48 by Carl Friedrich Bolz-Tereick at 2022-05-26T21:38:11+02:00
don't use gcrefs when using refcounting, it can't work

--HG--
branch : gcref-based-type-erasure

- - - - -
24766744 by Carl Friedrich Bolz-Tereick at 2022-05-26T21:38:27+02:00
merge default

--HG--
branch : gcref-based-type-erasure

- - - - -
f8bda533 by Carl Friedrich Bolz-Tereick at 2023-06-17T17:03:04+02:00
merge default

--HG--
branch : gcref-based-type-erasure

- - - - -
64577e1c by Carl Friedrich Bolz-Tereick at 2023-06-20T09:02:11+02:00
add and fix some tests

--HG--
branch : gcref-based-type-erasure

- - - - -
0d23e89e by Carl Friedrich Bolz-Tereick at 2023-06-22T13:53:08+02:00
fix this test, which starts failing because some other tests use the same
GcArray type to store pointers as l1, l2, l3

--HG--
branch : gcref-based-type-erasure

- - - - -
1e95e48d by Carl Friedrich Bolz-Tereick at 2023-06-22T19:07:16+02:00
make odict.items no longer a oopspec, it creates rtyping trouble and serves no
benefit

--HG--
branch : gcref-based-type-erasure

- - - - -
4bf369c3 by Carl Friedrich Bolz-Tereick at 2023-06-26T17:30:45+02:00
make some tagged int tests work

--HG--
branch : gcref-based-type-erasure

- - - - -
fa28c1d5 by Carl Friedrich Bolz-Tereick at 2023-06-26T19:54:07+02:00
merge gcref-based-type-erasure:

do type-erasure for rpython dicts and lists more generally, unifying all gced
pointer types into one implementation (as opposed to just unifying all
*instances* together, but not eg strings). This makes pypy-c ~700KiB smaller.

- - - - -


14 changed files:

- rpython/jit/codewriter/support.py
- rpython/rtyper/lltypesystem/lltype.py
- rpython/rtyper/lltypesystem/rdict.py
- + rpython/rtyper/lltypesystem/rgcref.py
- rpython/rtyper/lltypesystem/rlist.py
- rpython/rtyper/lltypesystem/rordereddict.py
- rpython/rtyper/lltypesystem/rstr.py
- rpython/rtyper/rmodel.py
- rpython/rtyper/rstr.py
- rpython/rtyper/rtyper.py
- rpython/rtyper/test/test_rdict.py
- rpython/rtyper/test/test_rlist.py
- rpython/translator/c/test/test_backendoptimized.py
- rpython/translator/c/test/test_newgc.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/9aed601ff4202b7f213d208946e3b52a477f4655...fa28c1d591999cf6066a4e97be19c4dc9f66fccc

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


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to