|
From: | Paul Eggert |
Subject: | [bug-diffutils] bug#21665: bug#21665: Use of mmap for large files |
Date: | Sun, 11 Oct 2015 14:14:53 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Maurice van der Pot wrote:
Would you be open to patches that enable diffing large files by using mmap?
I doubt whether that would help that much, as it still needs to construct information about each line, and that information consumes memory too. Doing this in secondary storage would be a bear. In practice when I've run into this problem, I've either gotten a bigger machine or made my input lines shorter. Preferably the former.
[Prev in Thread] | Current Thread | [Next in Thread] |