From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11874 invoked from network); 20 Jul 2000 21:43:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Jul 2000 21:43:21 -0000 Received: (qmail 19962 invoked by alias); 20 Jul 2000 21:43:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12331 Received: (qmail 19954 invoked from network); 20 Jul 2000 21:43:10 -0000 Date: Thu, 20 Jul 2000 23:43:06 +0200 From: Ollivier Robert To: zsh-workers@sunsite.auc.dk Cc: R Joseph Wright Subject: Re: zsh bloat? Message-ID: <20000720234306.A42846@caerdonn.eurocontrol.fr> Mail-Followup-To: zsh-workers@sunsite.auc.dk, R Joseph Wright References: <20000720142630.B6110@manatee.mammalia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000720142630.B6110@manatee.mammalia.org>; from rjoseph@mammalia.org on Thu, Jul 20, 2000 at 02:26:30PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT According to R Joseph Wright: > I'm running FreeBSD, which comes by default with sh and tcsh. Here I compare > it to those two, and some others: Beware, you're comparing Apples and Oranges there because everything inside /bin is statically linked... static: > 440 /bin/sh > 592 /bin/tcsh dynamic: > 736 /usr/local/bin/bash maybe not stripped ? > 328 /usr/local/bin/ksh > 352 /usr/local/bin/zsh Now, if you look at zsh on a 5.0-CURRENT system: -rwxr-xr-x 2 root wheel 5120 Jul 3 14:52 /usr/local/bin/zsh Hmmm, nicely small :-) :-) However: /usr/local/bin/zsh: libzsh-3.1.9-dev-2.so => /usr/local/lib/zsh/libzsh-3.1.9-dev-2.so (0x28064000) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280cd000) libm.so.2 => /usr/lib/libm.so.2 (0x2810e000) libc.so.4 => /usr/lib/libc.so.4 (0x28129000) and -rwxr-xr-x 1 root wheel 404176 Jul 3 14:52 /usr/local/lib/zsh/libzsh-3.1.9-dev-2.so And don't forget the modules: total 552 -rwxr-xr-x 1 root wheel 3156 Jul 3 14:52 cap.so -rwxr-xr-x 1 root wheel 5040 Jul 3 14:52 clone.so -rwxr-xr-x 1 root wheel 51252 Jul 3 14:52 compctl.so -rwxr-xr-x 1 root wheel 96196 Jul 3 14:52 complete.so -rwxr-xr-x 1 root wheel 33812 Jul 3 14:52 complist.so -rwxr-xr-x 1 root wheel 40052 Jul 3 14:52 computil.so -rwxr-xr-x 1 root wheel 4060 Jul 3 14:52 deltochar.so -rwxr-xr-x 1 root wheel 7148 Jul 3 14:52 example.so -rwxr-xr-x 1 root wheel 12268 Jul 3 14:52 files.so -rwxr-xr-x 1 root wheel 6080 Jul 3 14:52 mapfile.so -rwxr-xr-x 1 root wheel 10236 Jul 3 14:52 mathfunc.so -rwxr-xr-x 1 root wheel 23976 Jul 3 14:52 parameter.so -rwxr-xr-x 1 root wheel 9032 Jul 3 14:52 rlimits.so -rwxr-xr-x 1 root wheel 5148 Jul 3 14:52 sched.so -rwxr-xr-x 1 root wheel 9656 Jul 3 14:52 stat.so -rwxr-xr-x 1 root wheel 30996 Jul 3 14:52 zftp.so -rwxr-xr-x 1 root wheel 159676 Jul 3 14:52 zle.so -rwxr-xr-x 1 root wheel 5340 Jul 3 14:52 zleparameter.so -rwxr-xr-x 1 root wheel 6264 Jul 3 14:52 zprof.so -rwxr-xr-x 1 root wheel 10060 Jul 3 14:52 zpty.so -rwxr-xr-x 1 root wheel 20284 Jul 3 14:52 zutil.so Something is sure, zsh is getting bigger, both in disk space and memory footprint with every version. I still think it is worth it although sometimes I'd like to see it getting smaller. I won't go back to tcsh. An older static zsh: -rwxr-xr-x 1 root wheel 639396 Sep 27 1999 /sbin/zsh -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- roberto@eurocontrol.fr The Postman hits! The Postman hits! You have new mail.