emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix python-info-current-defun performance for large defuns


From: Eli Zaretskii
Subject: Re: [PATCH] Fix python-info-current-defun performance for large defuns
Date: Mon, 04 Sep 2023 14:49:10 +0300

> From: Tom Gillespie <tgbugs@gmail.com>
> Date: Sun, 3 Sep 2023 18:37:34 -0700
> 
> Hi,
>    Here is a patch to fix a performance issue in
> python-info-current-defun that appears when the function
> is run on large defuns. The issue can appear to the user as a
> noticeable (~500ms) freeze when the point is in a large defun
> in a python buffer with which-function-mode enabled. More
> details in the commit message and comments in the code.
> 
> I made the patch against the emacs-29 branch, but will also
> on master without issue.

Thanks.

kobarity, any comments?



reply via email to

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