From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25753 invoked from network); 23 Apr 2005 10:27:20 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Apr 2005 10:27:20 -0000 Received: (qmail 40585 invoked from network); 23 Apr 2005 10:27:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Apr 2005 10:27:09 -0000 Received: (qmail 21803 invoked by alias); 23 Apr 2005 10:27:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8740 Received: (qmail 21780 invoked from network); 23 Apr 2005 10:26:59 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Apr 2005 10:26:59 -0000 Received: (qmail 39489 invoked from network); 23 Apr 2005 10:26:59 -0000 Received: from mx2.suse.de (195.135.220.15) by a.mx.sunsite.dk with SMTP; 23 Apr 2005 10:26:54 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 316E08552; Sat, 23 Apr 2005 12:26:54 +0200 (CEST) Date: Sat, 23 Apr 2005 12:26:50 +0200 From: Mads Martin Joergensen To: Andrey Borzenkov Cc: zsh-users@sunsite.dk, Meino Christian Cramer Subject: Re: Speeding up ZSH startup Message-ID: <20050423102650.GM31064@suse.de> References: <20050423.082943.74746308.Meino.Cramer@gmx.de> <200504231254.54270.arvidjaar@newmail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200504231254.54270.arvidjaar@newmail.ru> User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 * Andrey Borzenkov [Apr 23. 2005 10:55]: > If you use "new" completion (compinit) then the slowest part is reading and > parsing all completion functions. > > You can speed it up by precompiling; see zcompile and function autoloading in > Zsh manuals. Wouldn't it be an idea to precompile all completions when installing them in the system with make install? -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.