Skip to content
Unverified Commit 2b41e844 authored by Matthias Diener's avatar Matthias Diener Committed by GitHub
Browse files

Tree: various speedups (#887)



* Tree: various speedups

- make dataclass non-frozen
- use mutate() for cases where a Map is modified multiple times
- remove asserts for cases that would fail immediately anyway

* make frozen depend on __debug__, restore an assert

* Improve depth()

Co-authored-by: default avatarAlexandru Fikl <alexfikl@gmail.com>

* opt ancestors

---------

Co-authored-by: default avatarAlexandru Fikl <alexfikl@gmail.com>
parent f113be03
Loading
Loading
Loading
Pipeline #617248 failed with stage
in 2 hours and 12 seconds