I'm creating an issue to track this - in my benchmarks of atmorpheric-lut I reached a point where map access dominated a significant portion of CPU cycles.
Transitioning to records with primitive fields will give a speedup in access and in eliding boxing.
It will require more significant changes to the code base so I'm not going swinging in with a hammer, but I wanted to point it out at this stage.
I'm creating an issue to track this - in my benchmarks of atmorpheric-lut I reached a point where map access dominated a significant portion of CPU cycles.
Transitioning to records with primitive fields will give a speedup in access and in eliding boxing.
It will require more significant changes to the code base so I'm not going swinging in with a hammer, but I wanted to point it out at this stage.