purcell / ac-slime

Emacs auto-complete plugin for Slime symbols
109 stars 10 forks source link

Bug when use read or read-line #10

Closed mzgcz closed 11 months ago

mzgcz commented 10 years ago

When I use (read) or (read-line) in slime-repl, it became very very slow when input.

And I disable mode one by one. Last I find it came with ac-mode.

purcell commented 10 years ago

ac-slime only really calls Slime's own completions functions, so the problem must be with either Slime or auto-complete, not with ac-slime.

I'll investigate further if I get chance.

If you want to investigate things yourself, you could try using elp-instrument-package to enable profiling of all the ac- functions (or even all the slime- functions). You would then try to reproduce the problem, and afterwards use the elp-results function to view a profile report -- this might reveal one or two functions which are taking up all the time.