From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: vc with svn and git Date: Sat, 25 Feb 2017 14:18:39 +0100 Message-ID: <87efym5ryo.fsf@detlef> References: <87bmtrsdkl.fsf@kwork> <87innzqvfi.fsf@kwork> <87inny66mt.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488028777 18157 195.159.176.226 (25 Feb 2017 13:19:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 13:19:37 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 14:19:28 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chcFv-00036l-8B for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2017 14:19:23 +0100 Original-Received: from localhost ([::1]:42729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chcFz-0003zg-Kx for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2017 08:19:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chcFP-0003zO-Dh for emacs-devel@gnu.org; Sat, 25 Feb 2017 08:18:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chcFM-0006gS-8J for emacs-devel@gnu.org; Sat, 25 Feb 2017 08:18:51 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:55999) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chcFL-0006gF-VF for emacs-devel@gnu.org; Sat, 25 Feb 2017 08:18:48 -0500 Original-Received: from detlef.gmx.de ([93.197.222.223]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzoSt-1cD4zK438N-0155Ev; Sat, 25 Feb 2017 14:18:42 +0100 In-Reply-To: (Stefan Monnier's message of "Sat, 25 Feb 2017 08:06:03 -0500") X-Provags-ID: V03:K0:DMGtk/iAvjMHRs+FPRJrp9Zf5aG/+AiD5tB3q0izRWsOTJswyBd v8BJRnOfjxkzdMoFxicNq0zcK0HQAiqsQqDvDVZzkoWJHX+/Zawa26h3Nkt7igAvbrancCc 7f6ywu/SJ5UfnR4H8njNbgitGPCDs7MLKinMrwQUP5viMMvYiS8vw2IrU+qSX/401fAxXDZ hYkEQ5r0SKQJr5mkDMONQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:qRMglRd6atM=:tB9AO9DuAb6gxeJ2HAjHek dHn65vMKHSnCeOw+Za6fUOHtA7/fBbFP+dxQODNh9+nyeC9FUMxjW9U5/ij1Ih++m5V2XE3Uk Z9LWmU0HymnQ+7B6R9iEo2xxypoV0obs73sKMMyYvDNspU75AiwZcU/jhe0SdEUNzcw8jtGiO b8lt18y/dLZaLVB9yUzdD0EVhwQgfPTSQwoflu+CkeeqqzmzfgutCjc2OjBkOXJ2VGdNQHi1R lQYAoS+0K6DPrsttQG2o8mRwXHBt2NFqiGAq/HPEEl2pnEMKBBKue8b3CKEklUo1J4CCX265r I4kGUw0WVl9fLwjk5Z445aqQ2qYle2ND/r0W5/XdyZd5cnKbH3pPgIf1VS1lONeJqDvg8Ex68 adddveqaYJxoEgezoDYt7ZRi1pKwtm9JOqm7BGbr8X3VhaOmCOoW3od0elSU84aYpkJ0nemw+ F7loexGVCmPn5I21vMH9w04idCCvE8xvxTLpeoySp/nng2OFHZdmX2o4uZpDUrnhIIrBYD8WQ QQP62SH8PjqCBBhWciOc3QWGz+pWp/6fP3G1mZNRSGwmHBG/TnLBchirHZWHxmMhzob0pWutA bkO+vOtGV3XypkWtbMJSnFQEx+jfNiQZFilSopNXH3TZFrXBvkBcn+B0uEZ1HpkcUc0vW2AXl bFUvenK/U6XaVCf7mDMlwR1m/1oci/ro+cjj6t29EvGtMmc2RT3GSsInJLSngolOdIJS+M9zk XO+pnL1xoEq6mtuMHHRKfBktR2qLDD2eXhpQUKBqZwBu3HQJEovWDYDMrusL2ZCHQdekGcCZ 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.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212593 Archived-At: Stefan Monnier writes: >> I don't know the situation with tarballs, but for Tramp it is >> implemented and useful. Tramp's implementation uses some caching indeed >> for performance improvement. See the comment in tramp-sh.el, heading >> `tramp-sh-handle-vc-registered'. > > That's odd. Why doesn't it rely on the file-process and > start-file-process handlers? For backends calling processes in order to check `vc-registered', it doesn't optimize. But for other backends, like cvs or svn, which do not call processes, it is *really* a performance boost. IIRC, it was recommended by a Tramp user running svn. If you're interested, I could try to find old messages comparing performance numbers w/ and w/o this optimization. Ten years ago, I guess. > Stefan Best regards, Michael.