this repo contains a rust implementation of the orthogonal Moore grid from mesa.discrete_space.
It is work in progress and, at least for now, inteded as an exploration of the potential of rust for speeding up core MESA classes and data structures.
Local results on the default mesa benchmarks are
| Model | Size | Init time [95% CI] | Run time [95% CI] |
|---|---|---|---|
| BoltzmannWealth | small | 🟢 -60.1% [-60.6%, -59.4%] | 🟢 -9.5% [-9.6%, -9.3%] |
| BoltzmannWealth | large | 🟢 -77.7% [-77.8%, -77.5%] | 🟢 -28.3% [-30.5%, -25.3%] |
| Schelling | small | 🟢 -64.7% [-64.9%, -64.5%] | 🟢 -14.2% [-14.6%, -13.9%] |
| Schelling | large | 🟢 -62.0% [-62.9%, -60.6%] | 🟢 -22.2% [-25.5%, -19.1%] |
| WolfSheep | small | 🟢 -47.0% [-47.5%, -46.6%] | 🟢 -47.3% [-49.8%, -44.6%] |
| WolfSheep | large | 🟢 -65.7% [-73.2%, -57.8%] | 🟢 -36.4% [-38.5%, -34.5%] |
| BoidFlockers | small | 🔵 -1.8% [-3.7%, +0.3%] | 🔵 -0.6% [-1.0%, -0.3%] |
| BoidFlockers | large | 🔵 -4.6% [-6.8%, -2.9%] | 🔵 -2.6% [-3.2%, -2.0%] |