scsh-users
[Top] [All Lists]

dump-scsh-program: image size?

To: scsh@zurich.ai.mit.edu
Subject: dump-scsh-program: image size?
From: scsh@memebeam.org
Date: Sun, 28 Apr 2002 16:49:07 +0900
Sender: Anthony Carrico <acarrico@memebeam.com>
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

<Prev in Thread] Current Thread [Next in Thread>