[armedbear-ticket] [armedbear] #76: Slime (swank) fuzzy completion very slow

armedbear armedbear-devel at common-lisp.net
Sat May 15 10:31:36 UTC 2010


#76: Slime (swank) fuzzy completion very slow
--------------------------+-------------------------------------------------
  Reporter:  ehuelsmann   |       Owner:  somebody
      Type:  enhancement  |      Status:  new     
  Priority:  major        |   Milestone:          
 Component:  other        |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by ehuelsmann):

 Hottest code - data collected with the hot spot profiler:

 {{{
  24.1       65 SWANK::FUZZY-CONVERT-MATCHING-FOR-EMACS
  26.3       71 SOME
  35.9       97 SWANK::COMPUTE-MOST-COMPLETIONS
  45.9      124 SWANK::RECURSIVELY-COMPUTE-MOST-COMPLETIONS
  48.5      131 SWANK::COMPUTE-HIGHEST-SCORING-COMPLETION
  71.5      193 SWANK::FUZZY-FIND-MATCHING-SYMBOLS
  85.2      230 SWANK::FUZZY-GENERATE-MATCHINGS
 100.0      270 SWANK::FUZZY-COMPLETION-SET
 }}}

 Evaluate this form to reproduce:

 {{{
 (progn
   (prof:with-profiling ()
     (let ((swank::*buffer-package* *package*))
       (swank::fuzzy-completions "de" 'cl-user)))
   (prof:show-hot-counts))
 }}}

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/76#comment:2>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list