DescriptionUse memory mapped file in courgette_tool
Patch generation and various utilities (disasm) now use memory mapped file
instead of copying into a string buffer. This saves the equivalent of the size of
both |old_file| and |new_file| in memory when generating the patch
(~300Mb with chrome.7z).
BUG=
Committed: https://crrev.com/f4fe06cf053fd6679c49e79c2fda2f059f021898
Cr-Commit-Position: refs/heads/master@{#405599}
Patch Set 1 #Patch Set 2 : Make BufferedFileReader const correct #
Total comments: 4
Patch Set 3 : Nit cleanup #Messages
Total messages: 12 (4 generated)
|