From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#48841: fido-mode is slower than ido-mode with similar settings Date: Sat, 05 Jun 2021 10:35:42 +0100 Message-ID: <87eedgy7pt.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8121"; 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 To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 05 11:36:10 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 1lpSiw-0001q6-3E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 11:36:10 +0200 Original-Received: from localhost ([::1]:37574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpSiv-00046c-4n for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 05:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpSio-00045r-Mu for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 05:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpSio-00087i-Gl for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 05:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpSio-0002C2-5O for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 05:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Jun 2021 09:36:02 +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.16228857588420 (code B ref 48841); Sat, 05 Jun 2021 09:36:02 +0000 Original-Received: (at 48841) by debbugs.gnu.org; 5 Jun 2021 09:35:58 +0000 Original-Received: from localhost ([127.0.0.1]:48309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpSig-0002Bh-WE for submit@debbugs.gnu.org; Sat, 05 Jun 2021 05:35:58 -0400 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:34682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpSic-0002BR-OR for 48841@debbugs.gnu.org; Sat, 05 Jun 2021 05:35:54 -0400 Original-Received: by mail-wr1-f45.google.com with SMTP id q5so11686848wrm.1 for <48841@debbugs.gnu.org>; Sat, 05 Jun 2021 02:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=TnMwxKzpBBNmQzIjgnZWGBDk8pMUauUg4V4iVjHucTQ=; b=rt5uQu2f8wb4I2PgkhctHhJKouAr6ul+71f7lvs/MpAvf4dvhmwS1ESTXPIHaXqoRk 3Os+Aentp8NddVZjklZQsG/AcP49LVxVyd00DuLOHrCEehxAoth+psm3yw4UPnpqzGwe AA5J36FkZiqk7xgnr3Rx1vzSkLEDICunz7nFifwC5QNHocRQumkf9sW54iF3439Lm1eb 8JsWyebnCBJSZwMNDnM7te+KbfUufPLXyc8QHZCJxj9LQdqhBrJY3IYNZ3Mx4+d94Wkg 2VEcPKtmfxEflw4c5ohFi/sVZh2QqZ1wsRNhlLQhkcZ8YkiFsd6Zu482G8bQIJydcPYR UybA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=TnMwxKzpBBNmQzIjgnZWGBDk8pMUauUg4V4iVjHucTQ=; b=Uif/sDXHBHWzXbnH9bjPuMYRQma3GEPa0lraBZ/7IqHCvbAOm1IAaW6Wf7khIY+Kso kY6l+/DNbzVr0VTNwwmvyxXHNTnvMsbNd0jwRUmkbwW3vNwBYc+rfPQdEUWIWuv0F8X3 Yd/wChbm71Ke8S9We2guJ3Qe22b2km4IyT/kdkj5CGtr8IkmAaoM8r9TGwrL+7X6fMpY jl/e2Jzyos2fQuKdrc9pyDmCB0jOrqtBlNIoxyp6tEVHeE8yndKpdtjVP5/Gyv4TyE79 Iwf1RWcGcpxwGrcupoQ6w73OJgkJfioz6G6Ij+mN8wEn+QmMCWC8eiEW4nPCyeUzO4Pe 1uSw== X-Gm-Message-State: AOAM530T/+lmI8lfAhUVuveaD9m1p7jUS0gBEHD9xNQy2yMMjT5VB3Y0 9XscxHAuRZAqZRN+NJGE6a90cgMb5iw= X-Google-Smtp-Source: ABdhPJyFzoljKpdA/XFiBVZK8by2Af1wORL5Gm35fx9JCj/VzcV4CICBDkQOvMLuAV02Y7bXQljWgQ== X-Received: by 2002:a5d:5182:: with SMTP id k2mr7835541wrv.381.1622885744273; Sat, 05 Jun 2021 02:35:44 -0700 (PDT) Original-Received: from krug ([89.180.146.244]) by smtp.gmail.com with ESMTPSA id v8sm10034203wrc.29.2021.06.05.02.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Jun 2021 02:35:43 -0700 (PDT) In-Reply-To: (Dmitry Gutov's message of "Sat, 5 Jun 2021 04:39:49 +0300") 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:208049 Archived-At: Dmitry Gutov writes: > I'm comparing > > ido-mode > with ido-ubiquitous-mode (for support for arbitrary completion > tables), available at > https://github.com/DarwinAwardWinner/ido-completing-read-plus > with (setq ido-enable-flex-matching t), of course > > versus > > fido-mode > with > (setq icomplete-compute-delay 0) > (setq icomplete-show-matches-on-no-input t) > (setq icomplete-max-delay-chars 0) > > The values chosen for behavior maximally close to ido. > > Try something like: > > - Start a session with personal config and a number of loaded > packages (so that there are a lot of functions defined in obarray) > - Type 'C-h f' > - Type 'a', then type 'b'. > - Delete 'b', type it again, see how quickly you can make the > completions update. > > With ido, the updates seem instant (probably due to some magic in > ido-completing-read-plus); with fido, there is some lag. Not huge, but > easy enough to notice. Thanks for the report. Before I try reproducing, can you try with fido-vertical-mode and tell us it if that changes anything? I think I remember that skipping some suffix-calculation logic saved on a few traversals of the big list of symbol completions. Jo=C3=A3o