Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh bloat?
- X-seq: zsh-workers 12336
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zsh bloat?
- Date: Fri, 21 Jul 2000 09:31:34 +0200 (MET DST)
- In-reply-to: Zefram's message of Thu, 20 Jul 2000 22:46:21 +0100 (BST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Zefram wrote:
> ...
>
> So that's 342kB of main binary, 655kB of loadable modules, and 933kB of
> shell functions.
Hey, not fair ;-) Some of the modules do things not comparable to
anything bash can do.
On my machine zsh is still smaller than a 2.01.1(1) bash, even though
I linked most modules into it (at least everything needed for zle and
completion).
> (Wow, I didn't realise we had so many functions -- the
> current tarballs are now more than twice the size of the 3.1.5 tarball.)
In memory, functions can be smaller than their definition files. Let's
see. Compiling all the functions in Functions/[PZ]* and all the
completion functions gives me a .zwc file with 1385664 bytes. That
contains two versions (for either endianess), so if you use all
functions you need 692832 bytes plus some padding and the function
structs. But the former can be taken from a shared mapped zwc file, so
it isn't that bad, I think.
However, at least one intention I had with this new completion system
was to make the main shell smaller. And I think we will make even more
progress in that direction (zle, probably moving more of the basic
completion code from C to shell code, etc).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author