This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
Reduce allocations in horizontal_water_movement
system
#927
Labels
performance
Code go brrr
Milestone
There are a large number of unnecessary allocations in the system, primarily in the
addItion_map
,removal_map
andflow_map
hashmaps and the hashmap returned by proposed lateral flow to neighbors.Instead, we should add:
to the
WaterBundle
.Then, this should be mutated in place.
The text was updated successfully, but these errors were encountered: