[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: State of the overlay tree branch?
From: |
Eli Zaretskii |
Subject: |
Re: State of the overlay tree branch? |
Date: |
Mon, 19 Mar 2018 08:33:18 +0200 |
> Date: Sun, 18 Mar 2018 14:37:39 -0700 (PDT)
> From: Drew Adams <address@hidden>
> Cc: address@hidden
>
> > If lsp-mode/lsp-ui needs a fast line counter, one can easily be
> > provided by exposing find_newline to Lisp. IME, it's lightning-fast,
> > and should run circles around count-lines (used by line-number-at-pos).
>
> Having a fast line counter in Elisp would be terrific.
Actually, I see that line-number-at-pos, count-lines, and forward-line
should already be fast, as they do exactly what I thought, something I
failed to see originally. If that's not "fast enough", a test case
showing the problem would be a good starting point.
- Re: State of the overlay tree branch?, (continued)
- RE: State of the overlay tree branch?, Drew Adams, 2018/03/18
- Re: State of the overlay tree branch?, Stefan Monnier, 2018/03/18
- Re: State of the overlay tree branch?, Eli Zaretskii, 2018/03/19
- Re: State of the overlay tree branch?, Stefan Monnier, 2018/03/19
- Re: State of the overlay tree branch?, Eli Zaretskii, 2018/03/19
- Re: State of the overlay tree branch?, Stefan Monnier, 2018/03/19
- Re: State of the overlay tree branch?, Eli Zaretskii, 2018/03/19
- Re: State of the overlay tree branch?, Stefan Monnier, 2018/03/19
- Re: State of the overlay tree branch?,
Eli Zaretskii <=
Re: State of the overlay tree branch?, Sebastien Chapuis, 2018/03/21
Re: State of the overlay tree branch?, Stefan Monnier, 2018/03/26