[Oberon] Dynamically sized allocation with NEW()
andreas_pirklbauer at yahoo.com
Tue Jan 15 18:22:22 CET 2019
> > NEW(F.raster, NofBytes);
> Hi, very interesting. Is this allocated on the heap, or stack?
In the heap. And it is also garbage-collected just like regular heap records. See  and  below.
On average one saves about 0.5 -1 KB of heap space *per* internalized font.
 Implementation: See modules Kernel.Mod (New, Mark, Collect), ORP.Mod (StandProc) and ORG.Mod (New) in:
More information about the Oberon