Golevka / emacs-clang-complete-async

An emacs plugin to complete C and C++ code using libclang
360 stars 71 forks source link

Increase responsiveness? #54

Closed sebastiansturm closed 10 years ago

sebastiansturm commented 10 years ago

When there is a great number of potential completion candidates, I often find that autocomplete stalls for a second or so (and clang-complete blows up to several megabytes). I have tried to fix this by only returning candidates beginning with ac-clang-saved-prefix; also, no more than ac-candidate-limit candidates are returned. This seems to work for me, but I'm not sure whether my changes are good enough for a pull request. Comments greatly appreciated

sebastiansturm commented 10 years ago

It seems I spoke too soon, still seems slow at times.