[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58860: 29.0.50; [PATCH] semantic/fw.el: speed up the 'semantic-find-
From: |
lin Sun |
Subject: |
bug#58860: 29.0.50; [PATCH] semantic/fw.el: speed up the 'semantic-find-file-noselect' |
Date: |
Sat, 29 Oct 2022 05:01:42 +0000 |
Hi,
The emacs will be extremely slow after I first time enable the
semantic mode and open a simple C source file which includes the
stdio.h.
I find the semantic mode will try to analyse the chained header files,
by calling the function (semantic-find-file-noselect ...) to open the
file and analyse its content, while the `find-file-hook` may have many
heavy functions.
Disabling the `find-file-hook` do have great performance improvement
for semantic mode.
Please help review this patch. Thanks
Best regards
Lin
0001-semantic-fw.el-speed-up-the-semantic-find-file-nosel.patch
Description: Text Data