From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10693 invoked by alias); 23 Dec 2014 17:36:54 -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: 19631 Received: (qmail 1572 invoked from network); 23 Dec 2014 17:36:52 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=LrklEcZZ c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=A92cGCtB03wA:10 a=w39ziU0nBBsWgaWhJwsA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141223093658.ZM10109@torch.brasslantern.com> Date: Tue, 23 Dec 2014 09:36:58 -0800 In-reply-to: <54998F77.3050903@eastlink.ca> Comments: In reply to Ray Andrews "autoload" (Dec 23, 7:51am) References: <54998F77.3050903@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: autoload MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Dec 23, 7:51am, Ray Andrews wrote: } } Can we determine how much memory functions use when loaded, such that a } practical determination might be made as to how much 'real' difference } it might make to free memory vs. any speed considerations? The in-memory size of a function is at least as large and probably a bit larger than its on-disk size as a file, because it's stored in both compiled and text form (the former for speed, the latter for output of the verbose and xtrace options and/or the functions command). } What do guys do in the real world? I autoload practically everything. I don't, however, zcompile things very much.