From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29739 invoked by alias); 18 Jan 2013 18:34:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17589 Received: (qmail 13780 invoked from network); 18 Jan 2013 18:34:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at sym2.noone.org does not designate permitted sender hosts) Date: Fri, 18 Jan 2013 19:34:28 +0100 From: Axel Beckert To: zsh-users@zsh.org Subject: Re: "embedded": tips for a small(er) zsh installation size? Message-ID: <20130118183428.GX15534@sym.noone.org> Mail-Followup-To: zsh-users@zsh.org References: <20130118171415.GW15534@sym.noone.org> <130118100020.ZM24881@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <130118100020.ZM24881@torch.brasslantern.com> X-Operating-System: Linux 2.6.32-5-xen-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.2.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.20 (2009-06-14) 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)