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.devel Subject: Re: emacs-27 b46c75b: xref-matches-in-files: Big Tramp speed-up Date: Wed, 08 Jan 2020 17:40:36 +0100 Message-ID: <87blrdj3zv.fsf@gmx.de> References: <20200107133628.1996.14412@vcs0.savannah.gnu.org> <20200107133629.2E736211A5@vcs0.savannah.gnu.org> <87y2uiiakq.fsf@gmx.de> <6255626b-0422-c1d2-af66-5cbd0f496719@yandex.ru> <87muayhw8q.fsf@gmx.de> <87h816htg2.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="142145"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 08 17:44:30 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipEQt-000JX9-6I for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 17:43:47 +0100 Original-Received: from localhost ([::1]:46572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipEQr-0002gq-RS for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 11:43:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34407) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipENw-0000Rr-1K for emacs-devel@gnu.org; Wed, 08 Jan 2020 11:40:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipENv-0005gt-12 for emacs-devel@gnu.org; Wed, 08 Jan 2020 11:40:43 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:36001) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipENu-0005dp-JC for emacs-devel@gnu.org; Wed, 08 Jan 2020 11:40:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1578501637; bh=6WyCW+kGoBwJg7vLX6kPQqL2K/2hBOekI3ULaD9jrig=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=eShNCjK1eSGyXxij+WwSuiBJqH2oJXDtZNfH4M6niCmhw6s1vycj+V9qzrgQ0p0TK +RqLLeZh4qEQ8POYTylFFLr/kBx3LW7APVGaTPWSl8HU9vsEw5jSzRzB3B8DMkf1ZM GBd5mkFHUxRm9v3JdCJ8e15UhHBq1/Is2/DR91iA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.59.73]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mv2xU-1jgEbt2pKi-00qxFB; Wed, 08 Jan 2020 17:40:37 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Jan 2020 11:25:10 -0500") X-Provags-ID: V03:K1:FwagjpolXCBTmoP3eNUwxyT42vZ/FVB3WGUcZf4sZhDGJrwU4No 9Dcx9g+4assT2/N/cYYE03XlnsFjXASlLI8lOegVtO/9JxHgZfYU9kOzmfbi2re8FamBgA9 LcSKGlccvZ0AKLAVQDfTEoWhqPQcq/A326Gy40mf9ciqy1WhTgu9JkMBKMUcLh0wsjGXI8K dQuAEYdIegn/rp3R9iUTw== X-UI-Out-Filterresults: notjunk:1;V03:K0:9nzWcQfC2Fs=:o/5zlGx4wO5isEGoKQB88M 1kQO4FmEdJKLL6xwkWsh7NbDvLfJz+xh48jkLYOX3y2wrCFDePMyJBJGF+g4NFbaOv+YlXkHJ KijZHtP3wBL/WoR/PdNNSAzN10DP9zg/z8y0FnbqsY9S02B97+u07kb+9pC/RnIxfvPHyAK1A cgXEHlS3zhB8QE5zE/FSI0zcOX1c0ikhza1+dfqYvtNG8zh3dO2SculftUL4mEyzjwj++N8IF pnjly1PFivraZ5ooIbyElZaMUi7SXIY+zOJYxk7bahD1euRZnBNxgfVyfiiAxWQCQgOekI50i G1DKahTWJThmuRDOLRy/zXiwd2ZYhyeIKmsOK0w/K17602IdvCMwjwbyl5gOizvx/HV0eNAjn wbvrdJWGzO5FQN+i9EpR7yaZIUrME89m0xeF0m0KScG9deq9nYnLyn4zHvUJa+8x1byvDotr2 G0Gtk9dzcktTyeD17qpzlsEqS4dli2hJmgLUP5LbtAY/bwOfRPQloPVB7Bza96/bGF2iwkMgF iykmuOu27+hPECwsx/N0mffaDQQZM+x7teOjRgxuKXFFWo/udHkAQmESrg8CIljGaVuqYYjf3 WyEsXsCmB82djE8YDd4kuvwPk+qI9CTi49+PFvjl1gcEwy52eJThlc8UB/8N64osTGNltl855 WHNUBkCHWO0ZxO3WtC7coOIt2x3P9WiXgdOfFdzA8meI+xG2EZgy07OXhV21qsXPQW5vxAz0I wum15f81S/+uJhW92yxkjNl7rgmhnSkfti/wqPUX0gRfjDSyo5QRDq/ofN/O+SCu2SrBmjw2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244130 Archived-At: Stefan Monnier writes: > Hmm... I guess this deserves a bug number and we should try and figure > out why it's so much slower to go through the file-handler machinery > (and whether we can do something about it other than provide ad-hoc > coarse-grained operations). The file name handler machinery is designed for single files. If you have some ten thousands files, which have all the same remote identification, and for which the same operation will be applied, this doesn't scale well. tramp-file-name-handler will be invoked for every single file for the same operation, and whatever it does, it is lost time. We would need the machinery only once. That's why I have proposed to find a way to apply an operation to a fileset instead of a single file only. > Stefan Best regards, Michael.