diff options
author | Austin Seipp <austin@well-typed.com> | 2015-08-23 20:08:04 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-08-23 20:08:04 +0200 |
commit | 4e9a41e1ba29afc231f61cee53fce1b04ed52370 (patch) | |
tree | 194b3a7555d4036afaf9a70880ee26073c8e2113 /compiler/cmm/CmmLex.x | |
parent | 98f8c9e597bc54b16f588a4641d8fe3bad36c7bb (diff) | |
download | haskell-wip/D1159.tar.gz |
compiler/iface: compress .hi fileswip/D1159
Summary:
Compress all interface files generated by the compiler with LZ4. While
having an extremely small amount of code, LZ4 is both very fast at
compression and decompression while having quite good space saving
properties.
Non-scientific size test: size of stage2 compiler .hi files:
`find ./compiler/stage2 -type f -iname '*.hi' -exec du -ch {} + | grep total$`
Without this patch: 22MB of .hi files for stage2.
With this patch: 9.2MB of .hi files for stage2.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Test Plan: I ran `./validate`
Reviewers: hvr, bgamari, thomie
Subscribers: duncan
Differential Revision: https://phabricator.haskell.org/D1159
Diffstat (limited to 'compiler/cmm/CmmLex.x')
0 files changed, 0 insertions, 0 deletions