[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix python-info-current-defun performance for large defuns
From: |
Tom Gillespie |
Subject: |
[PATCH] Fix python-info-current-defun performance for large defuns |
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.
Best,
Tom
0001-Fix-python-info-current-defun-performance-for-large-.patch
Description: Text Data
- [PATCH] Fix python-info-current-defun performance for large defuns,
Tom Gillespie <=