[Git][ghc/ghc][wip/andreask/docs-write-if-compression] Document -fwrite-if-compression in release notes.

Andreas Klebinger (@AndreasK) gitlab at gitlab.haskell.org
Wed Oct 23 12:59:32 UTC 2024



Andreas Klebinger pushed to branch wip/andreask/docs-write-if-compression at Glasgow Haskell Compiler / GHC


Commits:
c1864579 by Andreas Klebinger at 2024-10-23T14:40:14+02:00
Document -fwrite-if-compression in release notes.

- - - - -


2 changed files:

- docs/users_guide/9.12.1-notes.rst
- docs/users_guide/using-optimisation.rst


Changes:

=====================================
docs/users_guide/9.12.1-notes.rst
=====================================
@@ -143,6 +143,12 @@ Compiler
   flag doesn't yet ensure determinism across all compilation configurations; we
   anticipate these cases will be addressed in future updates (:ghc-ticket:`12935`).
 
+- GHC now includes a new flag, :ghc-flag:`-fwrite-if-compression`,
+  which controls the level of compression used when writing interface files to disk.
+  While we think the majority of users will be well served by the default setting,
+  the flag allows users to pick their own tradeoff between memory footprint and
+  compilation time when needed.
+
 GHCi
 ~~~~
 


=====================================
docs/users_guide/using-optimisation.rst
=====================================
@@ -1850,6 +1850,7 @@ as such you shouldn't need to set any of them explicitly. A flag
     :category: optimization
 
     :default: 2
+    :since: 9.12.1
 
     This flag defines the level of compression of interface files when writing to disk.
     The higher the flag, the more we deduplicate the interface file, at the cost of a higher compilation time.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c1864579f5c5e498ded4f3dc88d7a0f8545d3815

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c1864579f5c5e498ded4f3dc88d7a0f8545d3815
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241023/bb3305ef/attachment-0001.html>


More information about the ghc-commits mailing list