From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#34221: [PATCH] Make project-files work with remote files Date: Sat, 02 Feb 2019 13:13:51 +0100 Message-ID: <87bm3uz8u8.fsf@gmx.de> References: <8736pds1b1.fsf@gmx.de> <87tvhtgp7r.fsf@gmx.de> <87wommr1b2.fsf@gmx.de> <87imy4kjre.fsf@gmx.de> <37f22e37-9cf7-647e-4fe4-7fa50ae80351@yandex.ru> <87ftt6zgz0.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="244531"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34221@debbugs.gnu.org, =?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?= To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 02 13:14:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpuBY-0011QD-Rn for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2019 13:14:12 +0100 Original-Received: from localhost ([127.0.0.1]:41370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpuBX-0002ki-MF for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2019 07:14:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpuBO-0002kS-RF for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 07:14:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpuBO-0001UO-7U for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 07:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpuBO-0001UB-3Q for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 07:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpuBN-0004mv-NL for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 07:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Feb 2019 12:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34221 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34221-submit@debbugs.gnu.org id=B34221.154910964018391 (code B ref 34221); Sat, 02 Feb 2019 12:14:01 +0000 Original-Received: (at 34221) by debbugs.gnu.org; 2 Feb 2019 12:14:00 +0000 Original-Received: from localhost ([127.0.0.1]:55535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpuBM-0004mZ-Is for submit@debbugs.gnu.org; Sat, 02 Feb 2019 07:14:00 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:48567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpuBL-0004mK-AM for 34221@debbugs.gnu.org; Sat, 02 Feb 2019 07:13:59 -0500 Original-Received: from detlef.gmx.de ([79.140.117.151]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Mfn40-1gStgi3ru8-00ND7o; Sat, 02 Feb 2019 13:13:53 +0100 In-Reply-To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XVk/E XJqHcjF0Xxumv9UICrwWf3Jze40NmJnGVhvEB5uGRQw8v0T6KTsUyJo/RYSuuteOMrAtWpw3 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155011 Archived-At: Dmitry Gutov writes: > That's how I read it too. I'm not so sure that the overhead is negligible. > > Compare > > (benchmark 1 '(all-completions "" obarray)) > > and > > (benchmark 1 '(mapcar (lambda (s) (concat nil s)) (all-completions "" > obarray))) Sure, I'm aware of this difference. But there is (length obarray) => 15121 in my running Emacs stanza, and I doubt that so many files are handled in project-files at once. And even if there are so many files, the other operations on them will rule out this difference. So yes, I believe this is negligible. Best regards, Michael.