Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy
Commits: a9c51111 by Carl Friedrich Bolz-Tereick at 2022-01-16T21:22:11+01:00 speed up dict.copy by having a strategy-specific implementation of it. also allows speeding up emptydict.update(...) --HG-- branch : speedup-dict-copy - - - - - fb58d8ee by Carl Friedrich Bolz-Tereick at 2022-01-19T13:08:07+01:00 expose copy as a method --HG-- branch : speedup-dict-copy - - - - - c620cb37 by Carl Friedrich Bolz-Tereick at 2022-01-19T13:13:14+01:00 merge default --HG-- branch : speedup-dict-copy - - - - - abc4c261 by Carl Friedrich Bolz-Tereick at 2022-01-23T21:28:22+01:00 progress on making sure virtual dict copies stay virtual: - stop reindex the dict after it has been copied (I don't quite get why that was done in the first place in rordereddict, it's not done in rdict and if anything it should probably be done in the source dict, not the new copy) - need a bit of @dont_look_inside to hide some opaque operations from the JIT that it doesn't support not quite done: arraycopy of virtual gcarray-of-structs isn't supported in the JIT yet --HG-- branch : speedup-dict-copy - - - - - 5e082bfe by Carl Friedrich Bolz-Tereick at 2022-01-24T11:38:29+01:00 support arraycopy for array-of-structs with virtual src/dest. this allows dict copies to stay virtual still something wrong in the backend version of test_dict, need to investigate --HG-- branch : speedup-dict-copy - - - - - 2c86d90a by Carl Friedrich Bolz-Tereick at 2022-01-24T12:22:38+01:00 use str key, a prebuilt instances fails in the backend test --HG-- branch : speedup-dict-copy - - - - - a7306694 by Carl Friedrich Bolz-Tereick at 2022-02-02T20:05:07+01:00 make it possible to trace into update of virtual dicts --HG-- branch : speedup-dict-copy - - - - - 42f08851 by Carl Friedrich Bolz-Tereick at 2022-03-25T15:04:13+01:00 merge default --HG-- branch : speedup-dict-copy - - - - - af3b0320 by Carl Friedrich Bolz-Tereick at 2022-03-30T10:08:45+02:00 merge speedup-dict-copy: make dict.copy much faster, also emptydict.update(dict) also change the JIT to make sure that copied virtual dicts are virtual, and that updating a virtual dict with another one does not force either. - - - - - 3e3c2ba3 by Carl Friedrich Bolz-Tereick at 2022-03-30T18:20:15+02:00 merge heads - - - - - 13 changed files: - pypy/objspace/std/celldict.py - pypy/objspace/std/dictmultiobject.py - pypy/objspace/std/jsondict.py - pypy/objspace/std/kwargsdict.py - pypy/objspace/std/mapdict.py - pypy/objspace/std/test/test_celldict.py - pypy/objspace/std/test/test_dictmultiobject.py - pypy/objspace/std/test/test_jsondict.py - pypy/objspace/std/test/test_mapdict.py - rpython/jit/metainterp/optimizeopt/heap.py - rpython/jit/metainterp/optimizeopt/rewrite.py - rpython/jit/metainterp/test/test_dict.py - rpython/rtyper/lltypesystem/rordereddict.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/b7d1143ec26b53387debb5dd81f734dcb738bc0f...3e3c2ba384e924fd1fdf4d9b787bfe628ba9d6dc -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/b7d1143ec26b53387debb5dd81f734dcb738bc0f...3e3c2ba384e924fd1fdf4d9b787bfe628ba9d6dc 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