A heap with its all-zero pages removed, plus the index needed to put them back.
pageIndex holds the page numbers that were KEPT, ascending. Everything not listed was all zero
and is restored as zero, which is what a fresh WebAssembly.Memory already contains.
A heap with its all-zero pages removed, plus the index needed to put them back.
pageIndexholds the page numbers that were KEPT, ascending. Everything not listed was all zero and is restored as zero, which is what a freshWebAssembly.Memoryalready contains.