[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: |
Gary V. Vaughan |
Subject: |
Re: [Bug-zile] Incremental search is dog slow in moderately-sized files |
Date: |
Fri, 17 Jan 2014 12:46:08 +1300 |
Hi Reuben,
On Jan 17, 2014, at 12:36 PM, Reuben Thomas <address@hidden> wrote:
> e.g. 57Kb of xkb keyboard layout, that's 1337 lines (no kidding!).
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 :(
I'm afraid I don't know why, but given the ever slowing flickering of the
cursor between point and minibuf the further one advances into a file, I would
guess that it is either the buffer-gap management (could be on the alien or the
Zile side) or the redraw loop (could be on the luacurses or Zile side).
It's on my TODO list, immediately following a fair number of code clean ups
that will make analysis easier.
If you feel so inclined, stepping through everything executed when pressing an
arrow key near the end of a moderately sized file to find where the cycles are
being wasted would be a good way to pin it down. Or if you already know how to
use a lua profiler, profiling a longish dog-slow isearch session may be enough
to narrow it down. If you don't feel inclined, please sit tight, I'll get to
it soon enough :)
Feel free to file a bug report in the mean time. It's a real issue I've been
ignoring for a long time.
Cheers,
--
Gary V. Vaughan
signature.asc
Description: Message signed with OpenPGP using GPGMail
- [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/16
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/16
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files,
Gary V. Vaughan <=
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/16
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Gary V. Vaughan, 2014/01/16
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/17
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Gary V. Vaughan, 2014/01/17
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Gary V. Vaughan, 2014/01/18
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/18
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Gary V. Vaughan, 2014/01/18
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/18
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Gary V. Vaughan, 2014/01/18
- Re: [Bug-zile] Incremental search is dog slow in moderately-sized files, Reuben Thomas, 2014/01/19