commit | f4fe06cf053fd6679c49e79c2fda2f059f021898 | [log] [tgz] |
---|---|---|
author | etiennep <etiennep@google.com> | Thu Jul 14 22:15:59 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jul 14 22:17:44 2016 |
tree | c838a4efd1bbd93c7da9afd854c707f1b7690e0d | |
parent | 7c597cea734c36b9f983e53adb84d2ce4363153d [diff] |
Use 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= Review-Url: https://codereview.chromium.org/2143973004 Cr-Commit-Position: refs/heads/master@{#405599}