RangeIndex_TIndexedComponent,TValue_.md
December 3, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Index
RangeIndex<TIndexedComponent,TValue> Class
A component index optimized to execute range queries in O(log N) at the cost of index updates in O(log N).
The default index executes in O(1) when adding, removing or updating indexed component values.
public sealed class RangeIndex<TIndexedComponent,TValue> : Friflo.Engine.ECS.Index.GenericComponentIndex<TValue>
where TIndexedComponent : struct, Friflo.Engine.ECS.IIndexedComponent<TValue>, System.ValueType, System.ValueType
Type parameters
TIndexedComponent
TValue
Inheritance System.Object ๐ก AbstractComponentIndex ๐ก Friflo.Engine.ECS.Index.GenericComponentIndex<TValue> ๐ก RangeIndex<TIndexedComponent,TValue>