Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8 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.

- - - - -
9e48192e by Carl Friedrich Bolz-Tereick at 2022-03-30T13:19:43+02:00
merge default

--HG--
branch : py3.8

- - - - -
0c495e04 by Carl Friedrich Bolz-Tereick at 2022-03-30T18:21:01+02:00
merge heads

--HG--
branch : py3.8

- - - - -


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/e6e7d8caf5c0127f43e627a74ae175cce5fbc900...0c495e04b07d6abeda2d04311e8125f7cf862f53

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/e6e7d8caf5c0127f43e627a74ae175cce5fbc900...0c495e04b07d6abeda2d04311e8125f7cf862f53
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