[Git][ghc/ghc][wip/andreask/docs-write-if-compression] Document -fwrite-if-compression in release notes.
Andreas Klebinger (@AndreasK)
gitlab at gitlab.haskell.org
Thu Oct 24 11:52:09 UTC 2024
Andreas Klebinger pushed to branch wip/andreask/docs-write-if-compression at Glasgow Haskell Compiler / GHC
Commits:
93335a25 by Andreas Klebinger at 2024-10-24T13:32:50+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=⟨n⟩`,
+ 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/93335a250347ed0591d240701a56ff171a9a5561
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/93335a250347ed0591d240701a56ff171a9a5561
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/20241024/669168db/attachment-0001.html>
More information about the ghc-commits
mailing list