That’s the pain point - well written java code may not be the most performant depending on the situation.
It wasn’t just optional but other areas as well.
It wasn’t just optional but other areas as well.
You might sometimes have to reach for SoA-like structures and reference them via indices, at least for the core ECS, but for the rest you can easily use bog-standard Java -- not everything has to be "ultra-fast, specially written java", just certain hot loops.