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 08:03:17 +0200 Message-ID: <86wmpmhp0a.fsf@gnu.org> References: <87le63xzjt.fsf@thornhill.no> <87ttkrqvru.fsf@betli.tmit.bme.hu> <87il17xsea.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30428"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70036@debbugs.gnu.org, felician.nemeth@gmail.com To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 07:04:30 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 1rpisG-0007e4-Jr for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 07:04:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpis5-0006zA-0m; Thu, 28 Mar 2024 02:04:18 -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 1rpirr-0006yo-PA for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 02:04: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 1rpirr-0006Ew-Gc for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 02:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpirr-00038X-J5 for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 02:04:03 -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 06:04:03 +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.171160580911870 (code B ref 70036); Thu, 28 Mar 2024 06:04:03 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 28 Mar 2024 06:03:29 +0000 Original-Received: from localhost ([127.0.0.1]:38795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpirI-00035C-2b for submit@debbugs.gnu.org; Thu, 28 Mar 2024 02:03:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpirF-00034g-GQ for 70036@debbugs.gnu.org; Thu, 28 Mar 2024 02:03:26 -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 1rpir9-0006BW-IQ; Thu, 28 Mar 2024 02:03:19 -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=uGuIhyyC/pUs/UfYIe/ekutSEFajoYLD/C9qnVhzuVU=; b=sNyvBqGSLqCI yTetdOORc4wXbrll2yzd1+bJBfquSduLEfWWQK0OPvfu9UjjshJoEngVP0658vbajicvszIgxau60 cKGYGl4qbN4KMHtjPp1m9EaMyEXXWNOkX/qkIBoOS81PXq9VORIixzfpfI03YDA8vid/rgpSdxDFC KRGos8la56G//G6gKL6Naddbk89xTn9PminMfcLm0wL5n7QgCQLsvpCEYH6K0ja30Fgzf9Ge5Utg/ q9+fcZ9Q533Jdcb11h5PqGcCvy+Sh4Fh/o37G49H3OstoBxF8hf8vZBMHjuHn10gaPnxY18tP4uEC bgq/MPEmrom6yjlumc1ebQ==; In-Reply-To: <87il17xsea.fsf@thornhill.no> (bug-gnu-emacs@gnu.org) 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:282174 Archived-At: > Cc: 70036@debbugs.gnu.org > Date: Wed, 27 Mar 2024 22:43:25 +0100 > From: Theodor Thornhill via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Felician Nemeth writes: > > >> I've been studying Eglots performance and have been noticing a couple > >> of things that I find very interesting. It seems like `file-truename` > >> is in the hot path > > > > I think Eglot repeatedly calls file-truename with the same argument (or > > with an argument from a small set of filenames.) > > This is true, to some extent. Can someone explain why Eglot needs to call file-truename in the first place?