[REBOL] Re: Is Rebol code smaler?
From: rebolinth:nodep:dds:nl at: 18-Nov-2002 20:35
-> Unrelated to this, I wonder why rebol memory footprints
-> are so large. With an encapped view application, they are
-> about 12mb and over though the exe file is only 5-600kbs.
-> On the Amiga, there used to be a run time re-enterant
-> library that cut down the size of the Amiga executables.
-> I wonder if something similar can be done for Encap.
Thats not my problem :-) thats all expanded code after decompress
also a lot of buffers are created, My tcl code sometimes eates
over 4 MB internal memory,it all depends on internal buffer handling.
Heeee even more funnier :-) Did you ever debugged the core binary?
The core binary (perhpas also the other binarys use the internal rebol
compress!!! have a look in the binary files you will find several
finger-print of "compressed" rebol code with the command "compress".
I was not able yet to figure out the "compress" for 100% but the first
3 bytes (or was it 2?) are always the same, afterwards its the trick
to detect the lenght of the compressed packages and isolate it from
the core binary... Perhpas someone already hacked its way into a binary
and can tell us whats inside :-)
(I must say!! I miss indeed detailed information now and then
from the Rebol-Team in the manuals.)