emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter navigation time grows as sqrt(line-number)


From: Eli Zaretskii
Subject: Re: Tree-sitter navigation time grows as sqrt(line-number)
Date: Sun, 20 Aug 2023 09:18:15 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 19 Aug 2023 15:16:12 -0700
> Cc: Dmitry Gutov <dmitry@gutov.dev>,
>  emacs-devel@gnu.org
> 
> I inspected the descending algorithm, and there’s indeed an oversight made by 
> me. Here’s a patch that should fix it. I tested it briefly and it does speeds 
> things up greatly. Thanks for investigating this, JD!
> 
> I think the patch is relatively safe, so maybe we can push it to emacs-29 
> instead of master.

Yes, please install on emacs-29 (assuming no one comes up with some
regression due to it).

Thanks.



reply via email to

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