According to the manual, "The heap image created by dump-scsh-program
has unused code and data pruned out, so small programs compile to much
smaller heap images."
bash-2.05a$ scsh
Welcome to scsh 0.6.0 (Chinese Democracy)
Type ,? for help.
> (define foo (lambda x (display "hello world\n")))
> (dump-scsh-program foo "foo.image")
Channel closed in dumped image: standard input
Channel closed in dumped image: standard output
Channel closed in dumped image: standard error
Writing foo.image
#t
> ,exit
bash-2.05a$ ls -l foo.image
-rw-rw-r-- 1 acarrico acarrico 4404020 Apr 27 16:36 foo.image
Is this considered small? Or am I missing some trick?
Thanks,
Anthony Carrico
|