loopy
loopy copied to clipboard
Switch immutables.Map and pyrsistent.PMap to constantdict
This currently a proof-of-concept.
Edit: I removed the previous performance results, they were likely caused by some kind of caching of kernels.
TODOs:
- [x] ~~add
mutate
support to constantdict (and perhaps immutabledict)~~ (or change the singlemutate
call) - [x] Change
from constantdict import constantdict as Map
=>from constantdict import constantdict
- [ ] ~~Perhaps remove
sorted
calls (likely in a separate PR)~~ - [x] This needs a new
pytools
release - [ ] Benchmark this
Please squash