From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48841: fido-mode is slower than ido-mode with similar settings Date: Sat, 05 Jun 2021 22:34:53 -0400 Message-ID: References: <87eedgy7pt.fsf@gmail.com> <1f659c88-4d9d-8fc9-733a-5e6068f9ed4a@yandex.ru> <87a6o3x5j7.fsf@gmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48841@debbugs.gnu.org, Dmitry Gutov To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 06 04:36:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpie0-0008xW-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 04:36:09 +0200 Original-Received: from localhost ([::1]:38874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpidz-0007dX-TK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 22:36:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpidu-0007dN-49 for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 22:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpidt-0006Rw-TR for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 22:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpidt-0001yt-OL for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 22:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Jun 2021 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48841 X-GNU-PR-Package: emacs Original-Received: via spool by 48841-submit@debbugs.gnu.org id=B48841.16229469037549 (code B ref 48841); Sun, 06 Jun 2021 02:36:01 +0000 Original-Received: (at 48841) by debbugs.gnu.org; 6 Jun 2021 02:35:03 +0000 Original-Received: from localhost ([127.0.0.1]:50401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpicx-0001xh-F6 for submit@debbugs.gnu.org; Sat, 05 Jun 2021 22:35:03 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpicu-0001x9-QF for 48841@debbugs.gnu.org; Sat, 05 Jun 2021 22:35:02 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 455348091E; Sat, 5 Jun 2021 22:34:55 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F00C780182; Sat, 5 Jun 2021 22:34:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1622946893; bh=Pvtkr4jVWGi0EB0iHeipOtRHGH9utosN0azLOyY+OXg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=I7Vq37i5x9WzLX0kMMrSWj0Q47LWavzTOVLkTfUd+aRZU9yR6v6AyvE5kstZivljA qhQgiG/XjjYxZCnIiu7PDKwfgANZTjfVIA7Czn32kGGSpqqNi9eVAW3TYMIKr72LAd SplW1ezMwOAbxg7CRRbbsB+y9rZ1wda6wEdVz65beOpEf/1kHW0FebaWyDwyL+A0S9 IdewvPBukJXQIwBozZAsQMSPfDglbKeKbaiZMJEWWGqVmRHStdSZpGG4+y2HDqgMGK ME1JQXwbdqHjc/SNkxI0iHJNQe0B3SG6RLzyxOcrMcxZTM2eblzB0JqQ7w7N0inP6Z Js9UQEGwneFqg== Original-Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A38951202C2; Sat, 5 Jun 2021 22:34:53 -0400 (EDT) In-Reply-To: <87a6o3x5j7.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 06 Jun 2021 00:20:28 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208083 Archived-At: > Stefan knows best here. Regardless of its use, it seems to require > another try-completion call in all the filtered candidates (which might > be very big) so that's probably where the extra lag comes from. IIRC the `try-completion` call is performed on the list of possible completions rather than on the original completion table, so it should be quite fast. I'd be surprised if it is a significant portion of the overall time. Stefan