From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook? Date: Mon, 12 Feb 2024 21:25:33 +0200 Message-ID: References: <6aed5106-b78c-49f1-8caa-a7f9d34c161b@gutov.dev> <207528e2-6bec-436e-8868-8e7b707133f6@gutov.dev> <86y1bpr5ka.fsf@gnu.org> <63a4aea1-b757-469b-8653-f634f9e88543@gutov.dev> <86mss5qyti.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40802"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: arthur.miller@live.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 12 20:26:10 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rZbwP-000AMu-Ex for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Feb 2024 20:26:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZbw2-0001L9-AH; Mon, 12 Feb 2024 14:25:47 -0500 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 1rZbvy-0001Kq-Fb for emacs-devel@gnu.org; Mon, 12 Feb 2024 14:25:42 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZbvv-0005eV-AA; Mon, 12 Feb 2024 14:25:40 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8167A5C004F; Mon, 12 Feb 2024 14:25:36 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 12 Feb 2024 14:25:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1707765936; x=1707852336; bh=3u4jetv8zFVu5I/yu3t8tDTDNog3fpwIXJFVXnN+8zk=; b= lSCGQlYTonKK4ybcc19SGS51+tDZw1CxIDhhO8XAY/cCp75oojxmPUOg29QPTRmq l0h+arQJbItiDtEhSAn7DXEqFhIwklxGNrLVwp+bAPoJRJRxhYLOPTwb6y2dI/q2 D72jA95lEi3iN8lEN8oNlebhfClS3bL7t+cxf3oD+o1ljrKdbJp/PzlcM+uaL3PL X/4BuihB1AXKkVBQLb1549YcDFBuDpS4eizQOsPFNWSuJT0auTwTGjm5dWpOK2Dc R3VHoB3WtrCHWg9bJLj+AQuPPs1+8JRwyD1J8REAy9jTnGrSjBmq8GXb0KaIHuoC GlP7Qbb+GqbQsPP/0DbR/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707765936; x= 1707852336; bh=3u4jetv8zFVu5I/yu3t8tDTDNog3fpwIXJFVXnN+8zk=; b=d Rzp8AAiXUznvDWwhdNc4ivnEwtLDLMROVG9Fnc5esns2e+HPj6+P/oZhDh7D5sbu Ml6cPUioVSL3iYwKl5jFb7VXtmZA+XvKxv1De/KveCoMp9KOhxedsfilu6/XGVVz cHA3Bzt0ppMorCJcCL9xw0LReytBUPm2M+A+1WhPK0spGFz7nd3ObtSfMEOTYk9N NtE8ywZeUKu6UCGbs+RACzCI3lflRenBzGER+4v6ElgSeb1j2BYnRpgksC7TldPt PeSClqWo8yBP7rvzeUeRq1XlciNJ5/hkUrM020wh2l3oU9YxHANxus+Puvj8GiCo 6f6FgqnSjkj3bixegtBRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Feb 2024 14:25:35 -0500 (EST) Content-Language: en-US In-Reply-To: <86mss5qyti.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.25; envelope-from=dmitry@gutov.dev; helo=out1-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316149 Archived-At: On 12/02/2024 21:15, Eli Zaretskii wrote: >> One of the other problems I recall is that the Git distribution at the >> time added a shell script called git.bat (or git.cmd, something like >> that), and that extension took priority over git.exe in the path lookup. >> And launching that was an order of a magnitude slower than using git.exe >> directly. > I see only moderate slowdown when invoking Git via a batch file: > something like 50% slower (i.e. by a factor of 1.5). That is nowhere > near an order of magnitude. > > And again, I'm using this every day, and have yet to see any annoying > delays. At least in the Emacs repositories. Perhaps my recollections also stem from using a computer an order of a magnitude slower than what we, on average, have these days. Either way, perhaps Arthur can support the claim about "a quite expensive call" with some numbers from his machine.