Closed
Description
In #1799, we replaced the use of BTreeMap
s to store the network graph with IndexedMap
s, which are just a HashMap
with an additional BTreeSet
that keeps the keys sorted. This yielded a ~30% speed improvement (on @TheBlueMatt's Xeon W-10885M with a SK hynix Gold P31) in pathfinding across the board.
We can likely do better again by replacing the BTreeSet
with a sorted Vec
.