From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24046 invoked by alias); 6 Apr 2012 15:51:25 -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: 16993 Received: (qmail 291 invoked from network); 6 Apr 2012 15:51:24 -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 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120406085100.ZM19175@torch.brasslantern.com> Date: Fri, 06 Apr 2012 08:51:00 -0700 In-reply-to: Comments: In reply to Vaclav Zeman "Re: Large LS_COLORS makes auto_cd very slow" (Apr 6, 11:49am) References: <120404005237.ZM10249@torch.brasslantern.com> <120405085125.ZM13673@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Vaclav Zeman Subject: Re: Large LS_COLORS makes auto_cd very slow Cc: zsh-users@zsh.org MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 6, 11:49am, Vaclav Zeman wrote: } } I have reimplemented the change using ZSH's own hash table. Please see } the attached patch. Thank you. There are a couple of minor things that could be tweaked, but this is pretty good. And indeed completing after "/us" is a lot faster than it was before. Unfortunately completing after "/b" is still rather slow. Now the shell is spending most of its time in complist.c:getcoldef(). Ah, well. -- Barton E. Schaefer