Carl Friedrich Bolz-Tereick pushed to branch branch/speedup-dict-copy at PyPy / pypy
Commits: 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 - - - - - 4 changed files: - 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/c620cb37a1664101327154ea9288048efe78b8aa...2c86d90a129adec793b39e39b9293dc4bae19480 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c620cb37a1664101327154ea9288048efe78b8aa...2c86d90a129adec793b39e39b9293dc4bae19480 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit