def target_offsets
bendvy-ecs-core@0.1.0.3 · execution_query_identity.bend:66
import bendvy-ecs-core@0.1.0.3/execution_query_identity.bend as ExecutionQueryIdentity
import Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/chunk_column.bend as Column
66def target_offsets(~S:Data,+namespace:U32,+all:List<&2,W.Handle<S>>,remaining:List<&2,W.Handle<S>>) -> Maybe<&2,List<&2,U32>>:
67 match remaining:
68 case []:Some{[]}
69 case +head <> tail:prepend_offset(~S,target_offsets(~S,namespace,all,tail),checked_offset(~S,namespace,all,Column.maximum_capacity(),head))