The current scsh heap size is now 2,500,000 words, or 10,000,000 bytes.
In 0.3, it was 1,500,000 words, or 6,000,000 bytes.
Here's my (totally wild) guess: some of that delta is new code,
most of it is extra debugging tables.
Clearly, the static heap linker will help a lot. I also suspect Sommerfeld
is right -- the static linker could wring more read-only data out of
the heap than it does now.
mmap() tricks would pay off but we'd have to be careful to do it
in a portable way, because it isn't standard, and we still want to
be able to build on systems that don't have it.
-Olin
|