[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-zile] Incremental search is dog slow in moderately-sized files

From: Reuben Thomas
Subject: Re: [Bug-zile] Incremental search is dog slow in moderately-sized files
Date: Fri, 17 Jan 2014 20:33:29 +0000

Zee, having cleaned the bitrot, works fast. (luarocks install zee-git-1.rockspec should work now.) I suspect this is a clue:

commit 1c308523155b1c8f344223f2591a0ad7d5834bec
Author: Reuben Thomas <address@hidden>
Date:   Wed Oct 3 02:13:44 2012 +0100

    search.lua: simplify find_substr to allow only searching from point
    As a result, remove the last calls to tostring for the entire buffer
    contents, and make searching the buffer much more efficient.
    Also remove the non-regex search option, which is no longer used.

I can't find a corresponding commit in Zile.

On 16 January 2014 23:51, Gary V. Vaughan <address@hidden> wrote:
Hi Reuben,

On Jan 17, 2014, at 12:48 PM, Reuben Thomas <address@hidden> wrote:

> On 16 January 2014 23:46, Gary V. Vaughan <address@hidden> wrote:
>> Absolutely EVERYTHING is dog slow when point is more than a few hundred lines into any file of moderate size.  It's been this way in Lua Zile forever :(
> Apologies, I thought I had fixed this at some point.
>> Feel free to file a bug report in the mean time.  It's a real issue I've been ignoring for a long time.
> Wilco.
> I'll check to see if this is a problem in Zee. I might have fixed it there rather than in Zile.

I would be delighted if you already have a fix I can port over!

Gary V. Vaughan (gary AT vaughan DOT pe)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]