zsh-users
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-users@zsh.org
Subject: Re: "embedded": tips for a small(er) zsh installation size?
Date: Fri, 18 Jan 2013 19:34:28 +0100	[thread overview]
Message-ID: <20130118183428.GX15534@sym.noone.org> (raw)
In-Reply-To: <130118100020.ZM24881@torch.brasslantern.com>

Hi Bart,

On Fri, Jan 18, 2013 at 10:00:20AM -0800, Bart Schaefer wrote:
> On Jan 18,  6:14pm, Axel Beckert wrote:
> } Then again, in my case the Unix.zwc is bigger than the Unix directory
> } contents it's generated from
> 
> Yeah, ZWC format isn't compressed -- it stores nearly all the raw text
> as well as the "compilation" linkage so that the XTRACE option and the
> functions command can continue to work.  The only thing removed is the
> inconsequential whitespace.

I see. Thanks for the explanation!

> } but I suspect a performance penalty if
> } you just install the source instead of the .zwc files. :-)
> 
> The penalty probably isn't much if you aren't using very many of the
> functions packed in the ZWC.  In fact if your use is sparse enough it
> may actually be more expensive to compile.

I guess that counts for just-in-time compiling as it IIRC happens for
per-user files.

At least with regards to the Debian packages: We compile the .zwc for
the completions in the source tar ball already at build time, not at
install or use time. So they're delivered precompiled in the package
anyway.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.asciiribbon.org/              | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)


  reply	other threads:[~2013-01-18 18:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHwuDSDEw6u7gcApnVXiH8jjmtdVmZcJoWSWC+_k7uw6H_gnMA@mail.gmail.com>
2013-01-18 10:54 ` Francisco Borges
2013-01-18 11:29   ` Peter Stephenson
2013-01-18 11:53     ` Peter Stephenson
2013-01-18 15:54       ` Bart Schaefer
2013-01-18 17:14   ` Axel Beckert
2013-01-18 18:00     ` Bart Schaefer
2013-01-18 18:34       ` Axel Beckert [this message]
2013-01-18 20:56     ` Francisco Borges

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=20130118183428.GX15534@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-users@zsh.org \
    /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).