From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5284 invoked by alias); 2 May 2011 09:59:37 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29127 Received: (qmail 5854 invoked from network); 2 May 2011 09:59:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.210.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zIGPD0fFg55BTDr7PoSmPzOyTfaMm5UAkldvbWKxZGc=; b=jxhTR5cXO9EsKZuadNAScKt5upZooT3xjZbpN33p2SEgz7WAEObB2ZADhL8DqL6/3f ekFKqhA2cAZyqtMsMt5Ovo69LgftcY2ANZKo5ZzehFogorUddXGp0Fq6UCh2X+qr6hCj Q+OuzSLJnCz0ZQVSd21oT1G2rjMXP6qT7/eyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=N7vi0e9uAOqkBzGejeUhBETAj01LejT0XUodbZWuJl4JshcEwAXzIHM9t1Jmki0aQ5 ySBVlKK/T+j5Sh/zra9iMIfiuUK8AN6ncilFe0khvPbhuecWr3EvZFP7kHUjuaUID9aF SbKH3z0zOjji/n+lLHS4yTRHuMD3ccR/fXHtI= MIME-Version: 1.0 Sender: nikolai.weibull@gmail.com In-Reply-To: <20110430143718.GA20793@ruderich.org> References: <87liyw7t0o.fsf@ft.bewatermyfriend.org> <110426211951.ZM4200@torch.brasslantern.com> <20110430143718.GA20793@ruderich.org> Date: Mon, 2 May 2011 11:59:19 +0200 X-Google-Sender-Auth: 5oHFh8rEzGMsiEFUhBq12-Be9FM Message-ID: Subject: Re: Slowness issue with git completion From: Nikolai Weibull To: Simon Ruderich Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Apr 30, 2011 at 16:37, Simon Ruderich wrote: > On Wed, Apr 27, 2011 at 02:51:05PM +0200, Nikolai Weibull wrote: >> [snip] >> >> Let=E2=80=99s instead remove it. >> >> The attached patch seems to speed up matching a lot, while maintaining >> all functionality. =C2=A0There might be cases that I haven=E2=80=99t con= sidered. >> Please review. > > Seems to work fine for me (haven't tested it thoroughly though, > just normal usage). > > However it looks like two __git_files_relative are still there, > in the functions: > > =C2=A0 =C2=A0__git_changed-in-index_files > =C2=A0 =C2=A0__git_changed-in-working-tree_files Hm, weird. I thought I did a proper search. I=E2=80=99ll fix this tomorro= w.