Re: Size of delivered executables
David Fox <davef@xanalys.com> writes:
> The size of a LispWorks executable is a header plus an integral
> number of 64K chunks. So adding a function will only change the size
> of the delivered image if it causes a new 64k chunk to be added.
OK, I expected something like that. Thanks for the explanation.
> 6Mb is fairly large for a compacted delivered LWW executable.
I would be very happy if you could help me to make it significantly
smaller... :)
> Is your executable compacted (that is, what is the value of the
> delivery keyword :COMPACT)?
T
> How many lines of code?
CL-PPCRE has around 6,000 LOC with many comments, the additional code
for the "Regex Coach" (GUI stuff, some additions to the regex engine)
is at around 2,500 LOC. (Measured with wc, i.e. including empty
lines.)
> I question if it is that important. Are we really so short of disk
> space these days? Don't we prefer faster application startup?
For me at least it's not about disk space, it's about network
traffic. If I release a newer version of my app I have to upload it
(two versions) to the server which takes several minutes with my ADSL
connection (that's why they call it "asymmetric"...) and more or less
blocks all other network traffic during that period.
Not that my gzip proposal would help here because I'm already
uploading gzipped files...
> If, indeed. You have implemented Regex Coach pretty quickly, and
> will be able to maintain it with less effort than an equivalent
> C-like implementation, won't you? I think that's the best riposte,
> rather than arguing over a few Mb of (cheap) disk space.
Sure. I myself would never even think about building something similar
with C++ or Delphi. I'm just talking about psychological factors
here. Some things are just hard to argue against.
Well, never mind, none of this is really important. But if it isn't
much work to add something like a :GZIP delivery keyword you might
want to add it to the wishlist for one of the next releases.
Thanks,
Edi.