unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42190: 27.0.91; flex matching is slow
@ 2020-07-04 17:06 Ivan Yonchovski
  2022-06-06 14:20 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Yonchovski @ 2020-07-04 17:06 UTC (permalink / raw)
  To: 42190


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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#42190: 27.0.91; flex matching is slow
  2020-07-04 17:06 bug#42190: 27.0.91; flex matching is slow Ivan Yonchovski
@ 2022-06-06 14:20 ` Lars Ingebrigtsen
  2022-07-05 11:37   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-06 14:20 UTC (permalink / raw)
  To: Ivan Yonchovski; +Cc: 42190

Ivan Yonchovski <yyoncho@gmail.com> writes:

> 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).

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I seem to vaguely recall there being some improvements to flex
completion lately -- do you still see this problem in Emacs 29?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#42190: 27.0.91; flex matching is slow
  2022-06-06 14:20 ` Lars Ingebrigtsen
@ 2022-07-05 11:37   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-05 11:37 UTC (permalink / raw)
  To: Ivan Yonchovski; +Cc: 42190

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I seem to vaguely recall there being some improvements to flex
> completion lately -- do you still see this problem in Emacs 29?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-05 11:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-04 17:06 bug#42190: 27.0.91; flex matching is slow Ivan Yonchovski
2022-06-06 14:20 ` Lars Ingebrigtsen
2022-07-05 11:37   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).