GNU bug report logs - #42190
27.0.91; flex matching is slow

Previous Next

Package: emacs;

Reported by: Ivan Yonchovski <yyoncho <at> gmail.com>

Date: Sat, 4 Jul 2020 17:07:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ivan Yonchovski <yyoncho <at> gmail.com>
To: 42190 <at> debbugs.gnu.org
Subject: bug#42190: 27.0.91; flex matching is slow 
Date: Sat, 04 Jul 2020 20:06:43 +0300
To reproduce the issue, install company-mode, go scratch buffer
execute the code:

(company-mode 1)
(setq completion-styles '(basic flex)
      company-idle-delay 0)

type

(rrrrrr) and then start deleting from the last r to the first one.

Observerd behaviour: the completion lags/feels slugish even in the
emacs -q setup(it gets slower if you load several packages).

The main offenders are:
completion-flex-all-completions + GC - on CPU profiler  
completion-pcm--hilit-commonality - on Memory profiler

Thanks,
Ivan




This bug report was last modified 3 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.