zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: zsh bloat?
Date: Fri, 21 Jul 2000 09:31:34 +0200 (MET DST)	[thread overview]
Message-ID: <200007210731.JAA12819@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Zefram's message of Thu, 20 Jul 2000 22:46:21 +0100 (BST)


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@informatik.hu-berlin.de


             reply	other threads:[~2000-07-21  7:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-21  7:31 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-07-20 21:26 R Joseph Wright
2000-07-20 21:43 ` Ollivier Robert
2000-07-20 23:51   ` R Joseph Wright
2000-07-20 21:46 ` Zefram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200007210731.JAA12819@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).