Antonio Cuni pushed to branch branch/default at PyPy / pypy
Commits: e8dae8db by Antonio Cuni at 2020-10-02T17:39:55+02:00 introduce a @never_allocate class decorator, which ensure that a certain RPython class is never actually instantiated at runtime. Useful to ensure that e.g. it's always constant-folded away --HG-- branch : rpython-never-allocate - - - - - aba70973 by Antonio Cuni at 2020-10-02T23:53:14+02:00 improve the test to check that if we constant-fold the MyClass malloc(), everything works --HG-- branch : rpython-never-allocate - - - - - b2fd255b by Antonio Cuni at 2021-01-21T14:06:19+00:00 Merge branch 'branch/rpython-never-allocate' into 'branch/default' introduce a @never_allocate class decorator See merge request pypy/pypy!764 - - - - - 4 changed files: - rpython/memory/gctransform/transform.py - rpython/rlib/objectmodel.py - rpython/rlib/test/test_objectmodel.py - rpython/rtyper/rclass.py View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/069f8130cb78fcfe09096f4cfa6c6ca8606e32b0...b2fd255b37df89f8c79fe75dff47ff690e9d546a -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/069f8130cb78fcfe09096f4cfa6c6ca8606e32b0...b2fd255b37df89f8c79fe75dff47ff690e9d546a 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
