bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24048: 25.0.95; syntax-ppss can be slow


From: Lars Ingebrigtsen
Subject: bug#24048: 25.0.95; syntax-ppss can be slow
Date: Fri, 03 Dec 2021 17:26:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Aaron Jensen <aaronjensen@gmail.com> writes:

> I can still reproduce it with the specified repro:
>
> Load
> https://gist.githubusercontent.com/aaronjensen/d4cd40347a916dd36c8239afecf64a7d/raw/b52440bb51b96193a365a7f4cc1c8733ba98476f/syntax-ppss-slow-repro.ex
> Install and enable elixir-mode
>
> At top of file:
> M-: (benchmark 100 '(syntax-ppss))
>
> On line 71:
> M-: (benchmark 100 '(syntax-ppss))
>
> For me it's 0.1ms vs 5ms

Thanks for checking.

Perhaps Stefan has some insights here; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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