emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook?


From: Eli Zaretskii
Subject: Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook?
Date: Mon, 12 Feb 2024 21:15:05 +0200

> Date: Mon, 12 Feb 2024 20:05:36 +0200
> Cc: arthur.miller@live.com, emacs-devel@gnu.org
> From: Dmitry Gutov <dmitry@gutov.dev>
> 
> > in the backtrace posted by Arthur takes between 24 and 30 msec here.
> 
> If there are several calls required (I don't remember how many we have 
> now), 30x4 can turn into a 120ms delay, which would be perceptible 
> enough and fairly annoying.

I don't experience any annoyance in my Emacs.

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]