diff options
author | Austin Seipp <austin@well-typed.com> | 2016-05-20 03:25:08 +0000 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2016-05-21 16:55:16 +0000 |
commit | d9cb7a8a94daa4d20aa042cd053e20b491315633 (patch) | |
tree | aedce747b5202ab49da01a17c8dbebc13e313116 /docs | |
parent | a1f3bb8ca454f05fa35cb6b5c64e92f640380802 (diff) | |
download | haskell-d9cb7a8a94daa4d20aa042cd053e20b491315633.tar.gz |
compiler/iface: compress .hi files
Compress all interface files generated by the compiler with LZ4. While
being only a tiny amount of code, LZ4 is both fast at compression and
decompression, and has good compression ratios.
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>
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D1159
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/8.2.1-notes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst index b52f0ede25..40dfe1579b 100644 --- a/docs/users_guide/8.2.1-notes.rst +++ b/docs/users_guide/8.2.1-notes.rst @@ -25,7 +25,8 @@ Language Compiler ~~~~~~~~ -- TODO FIXME. +- GHC now compresses interface files with a fast compression + algorithm, meaning compiled artifacts should use less disk space. GHCi ~~~~ |