Closed stardiviner closed 4 years ago
The only CPU consumption is related here. Ok, here is a reason for this suspending:
- ac-update-greedy 458 44%
It's weird. Autocompletion should not be required when you deleting characters. I can't reproduce it.
Ok, once again, what do you actually do? Do you only press the Backspace
button when point (cursor) is located in this position? What is your buffer major-mode
? Is it sql-mode
or org-mode
?
CREATE VIEW vw_cite| AS SELECT * FROM cities WHERE popullar;
what do you actually do? Do you only press the Backspace button when point (cursor) is located in this position? What is your buffer major-mode? Is it sql-mode or org-mode?
Yes, I only pressed the Backspace
button, and in sql-mode
instead of org-mode
.
After your hint, I assume this is not ejc-sql mechanism, so I checked out my auto-complete
config.
After removed some auto trigger completion configs. The problem is gone.
Sorry for the disturb, I should have a deep thinking of this problem.
I can feel the slow suspend when I delete backwards in SQL like this (the bar | represents the point):
I did an Emacs profiler profiling. Here is the results: Memory result
CPU result