bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19716: Excessive Windows registry accesses


From: Noam Postavsky
Subject: bug#19716: Excessive Windows registry accesses
Date: Thu, 07 Dec 2017 20:44:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

tags 19716 wontfix
close 19716
quit

Eli Zaretskii <address@hidden> writes:

>> Date: Wed, 28 Jan 2015 22:06:49 +0100
>> From: PK <address@hidden>
>> 
>> > Anyway, why do you think this [duplicated identical OpenKey accesses] is a 
>> > bug?
>> 
>> Because it suggests faulty logic to me.  Normally if I were looking for a 
>> resource and either finding it or not, I'd keep the outcome the first time 
>> and use that outcome.  (Not found?  Don't look again.  Found?  Use what was 
>> found.)
>
> The Registry is a place that can change outside Emacs control.  So the
> fact we didn't find there something doesn't make sure it won't be
> found on the next access.
>
>> If it's cheap to make those more than 3600 duplicate registry accesses, 
>> then I suppose there's nothing wrong with it.  (I tend to suspect that very 
>> little in Windows is cheap, but I haven't measured the cost of those 
>> calls.)  You seem to hint that it's logic transliterated from X, which 
>> *does* have cheap access, and I can see the value in not fiddling with 
>> logic that works.  Still...
>
> X resources can be put into the Registry whenever the user wants, and
> should work starting from then.
>
> Please do time these accesses.  I don't think they are expensive, but
> if your data shows otherwise, we could look into this.

Seems no data is forthcoming.






reply via email to

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