GNU bug report logs - #49038
Speeding up diff on Windows

Previous Next

Package: diffutils;

Reported by: Gisle Vanem <gisle.vanem <at> gmail.com>

Date: Tue, 15 Jun 2021 14:13:02 UTC

Severity: normal

Full log


Message #8 received at 49038 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Gisle Vanem <gisle.vanem <at> gmail.com>, 49038 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#49038: Speeding up diff on Windows
Date: Tue, 15 Jun 2021 12:51:16 -0700
On 6/15/21 4:57 AM, Gisle Vanem wrote:

> I seem to get the job done quicker. I cannot give any numbers on
> the speed-increase.

Although GNU/Linux doesn't have O_SEQUENTIAL, it has somewhat similar 
flags (e.g., madvise with MADV_SEQUENTIAL). I've tried using these flags 
in the past and came up empty: they complicate the code and sometimes 
make things faster and sometimes slower and it wasn't worth the 
maintenance trouble to tease things out.

I expect that Microsoft's O_SEQUENTIAL flag is similar. Besides, 
MS-Windows is relatively low priority for us.




This bug report was last modified 4 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.