Sparse initialization of requested accumulators #
Main definitions #
PrunedQuery.zeroQueryPrefix: the memory after zeroing a listed prefix of query addresses.
Main results #
PrunedQuery.exec_clearRequested: actual indexed clearing within7 N + 3instructions.
Repeated requests are permitted. Unlisted cells are preserved, and no dense value directory is initialized by this routine.
One additional listed request is exactly one memory store, including repeated requests.
Every cell outside the concrete value directory is preserved by a bounded prefix.
Registers modified by sparse clearing.
Instances For
Each requested word costs an indexed source load, indexed zero store and increment.
The fixed native clearing loop visits only explicit requests. Width follows from concrete source/destination endpoints and lengths, and source preservation follows from their separation.
Registers changed by a complete internal-node initialization.
Instances For
Sparse clearing and actual stored-frame initialization together cost 7 N + 8 instructions.
The source list is preserved; the only additional memory write is its frame's fourth word.