SnapshotData.allocator: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/snapshot_data.bend as SnapshotData Lines 34-39 of bendvy-ecs-core@0.1.0.3/snapshot_data.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/snapshot_data.bend&start_line=34&end_line=39 import Base import entity_allocator.bend as Alloc import bendvy-ecs-core@0.1.0.3/world.bend as W # Internal experimental accessor: exact actual allocator, no inferred live count. # Rebuild the SAME owner with every field returned unchanged. def allocator(~S:Data,~C:Type,~R:Type,~E:Data,world:W.World) -> W.World & U32: match world: case W.World{+namespace,Alloc.Allocator{+nextId,+high,slots,+capacity,+depth,+free,+order},store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}: (W.World{namespace,Alloc.Allocator{nextId,high,slots,capacity,depth,free,order},store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},nextId) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/entity_allocator.bend&name=Allocator https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=World