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

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

bug#5845: load-library vs. list-load-path-shadows


From: Noam Postavsky
Subject: bug#5845: load-library vs. list-load-path-shadows
Date: Tue, 16 Jan 2018 16:32:11 -0500

On Tue, Jan 16, 2018 at 12:25 PM, Ken Brown <kbrown@cornell.edu> wrote:
> On 1/16/2018 10:54 AM, Noam Postavsky wrote:
>>
>> Should we just use case-insensitive compare for `windows-nt' systems?
>> The idea of using "the same heuristics" as `load' sounds nice, but as
>> far as I can tell, `load' just queries the file system directly. Doing
>> the same in `load-path-shadow-find' is far too slow (raises execution
>> time from 0.38s to 5.64s, and that's without any packages adding to
>> the load-path).
>
>
> Would it help to use file-name-case-insensitive-p?

Ah, good point. How about the attached?

Attachment: v2-0001-Handle-case-insensitive-filenames-for-load-path-s.patch
Description: Binary data


reply via email to

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