From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70036: 30.0.50; Move file-truename to the C level Date: Thu, 28 Mar 2024 15:52:23 +0200 Message-ID: <86zfuifoq0.fsf@gnu.org> References: <87le63xzjt.fsf@thornhill.no> <87jzlmd831.fsf@localhost> <87v856wrj1.fsf@thornhill.no> <87r0futxj4.fsf@localhost> <875xx6y46j.fsf@thornhill.no> <87il16tw0l.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31023"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70036@debbugs.gnu.org, theo@thornhill.no To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 14:53:27 2024 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 1rpqC7-0007rW-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 14:53:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpqBn-0000UK-RU; Thu, 28 Mar 2024 09:53:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpqBi-0000Tk-F6 for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 09:53:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpqBi-0001K6-4B for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 09:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpqBi-0002ol-Gt for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 09:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70036 X-GNU-PR-Package: emacs Original-Received: via spool by 70036-submit@debbugs.gnu.org id=B70036.171163396410755 (code B ref 70036); Thu, 28 Mar 2024 13:53:02 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 28 Mar 2024 13:52:44 +0000 Original-Received: from localhost ([127.0.0.1]:39602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpqBP-0002nP-N2 for submit@debbugs.gnu.org; Thu, 28 Mar 2024 09:52:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpqBL-0002ma-SM for 70036@debbugs.gnu.org; Thu, 28 Mar 2024 09:52:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpqBE-0001Bk-Mj; Thu, 28 Mar 2024 09:52:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VX/nW8TTq7LQ58CdOHzHjsWauydzcOm9Yejf72dIo88=; b=TdYZTfFe7MwT haBSmQMw46Tcgkt/KrqrSKUbcLCrcrTCjveeipCrm3M2rw++gO9CUvDDwAQp2yrc+w8e59fwJhKJS IjK0fYCZlLUDUxxwF3jxzsf0HHR4CLHkChjENQY9PT/WctKLdJY8xpXQ7PpipFjMcQ5Q4ORswFost rwPW3knvsmAShcdIJE7o8G4VWEjG+juxjtpNgK/+p3lmmsBqVIQIwT8O6sl5AO/3RHI3MVDHBATcj pDJSTRPMooMgLRngm+KQiulYyFGBGsHzqYchyvQD7L1kngb/kxnKurhf+ex8Q8+NNr1H2ZE6B+40B yORMmhQWk2pe2NnU/rFqiw==; In-Reply-To: <87il16tw0l.fsf@localhost> (message from Ihor Radchenko on Thu, 28 Mar 2024 11:51:06 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282229 Archived-At: > Cc: 70036@debbugs.gnu.org > From: Ihor Radchenko > Date: Thu, 28 Mar 2024 11:51:06 +0000 > > If the slow parts of `file-truename' are the calls to C subroutines, > rewriting `file-truename' in C will not help much with the performance. That is only true if the C implementation uses the same C subroutines, or their bodies. If, instead, the C implementation uses something like 'realpath', which produces the fully resolved file name ion one go, then the profile from the Lisp implementation is not really relevant.