Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Slowness issue with git completion
- X-seq: zsh-workers 29127
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Simon Ruderich <simon@xxxxxxxxxxxx>
- Subject: Re: Slowness issue with git completion
- Date: Mon, 2 May 2011 11:59:19 +0200
- Cc: zsh-workers@xxxxxxx
- 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=
- In-reply-to: <20110430143718.GA20793@ruderich.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <87liyw7t0o.fsf@ft.bewatermyfriend.org> <BANLkTim6WJWCrfLokA045Sc8su8DMXnKNw@mail.gmail.com> <BANLkTi=eLWad_TB4L=chD=3Fb_Pd9AQyqQ@mail.gmail.com> <BANLkTi=PrLsikjVhA-e06gjEkkxDpsdVaw@mail.gmail.com> <BANLkTi=N0DjXbf70LCo422DQ_2b0_dK_AQ@mail.gmail.com> <BANLkTikwk=OUQ7TzQB6FNcD2wztj+LHOGw@mail.gmail.com> <BANLkTinadx+av3XhHrdem8aNqp=k7Gm69Q@mail.gmail.com> <BANLkTikLMKZmCAxt=Ac-t-R_ZccZMt3pqg@mail.gmail.com> <110426211951.ZM4200@torch.brasslantern.com> <BANLkTimmw3+nWyYS27MzDm-z-rFCT2yxaQ@mail.gmail.com> <20110430143718.GA20793@ruderich.org>
- Sender: nikolai.weibull@xxxxxxxxx
On Sat, Apr 30, 2011 at 16:37, Simon Ruderich <simon@xxxxxxxxxxxx> wrote:
> On Wed, Apr 27, 2011 at 02:51:05PM +0200, Nikolai Weibull wrote:
>> [snip]
>>
>> Let’s instead remove it.
>>
>> The attached patch seems to speed up matching a lot, while maintaining
>> all functionality. There might be cases that I haven’t considered.
>> 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:
>
> __git_changed-in-index_files
> __git_changed-in-working-tree_files
Hm, weird. I thought I did a proper search. I’ll fix this tomorrow.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author