Entity Component System - ECS - optimized for performance and cache locality
$ dotnet add package Friflo.Engine.ECS.BoostExtension for Friflo.Engine.ECS to boost performance of query execution.
Friflo.Engine.ECS is using only verifiably safe code.
Using unsafe code
may lead to access violations errors in case of bugs caused by unsafe code.
To improve performance of query execution this library is allowed to use unsafe code.
For large query result sets the bounds check for array access using safe code is significant.
With unsafe code these bounds check can be elided resulting in a performance boost of ~30%.