[Git][ghc/ghc][wip/az/epa-hslet-tokens] 3 commits: EPA: Move EpAnn out of extension points
Alan Zimmerman (@alanz)
gitlab at gitlab.haskell.org
Tue Dec 19 20:10:24 UTC 2023
Alan Zimmerman pushed to branch wip/az/epa-hslet-tokens at Glasgow Haskell Compiler / GHC
Commits:
6249c6d1 by Alan Zimmerman at 2023-12-19T20:05:49+00:00
EPA: Move EpAnn out of extension points
Leaving a few that are too tricky, maybe some other time.
Updates haddock submodule
- - - - -
c61ddf63 by Alan Zimmerman at 2023-12-19T20:05:49+00:00
EPA: Remove some unneeded helpers from Parser.y
info: patch template saved to `-`
- - - - -
148c3bbf by Alan Zimmerman at 2023-12-19T20:05:49+00:00
EPA: Tackling extra parser allocations stats fail
- make all getCommentsFor results strict.
- adding `seq` to various Parser.y helper functions
This metric increases 2.6% (6% before the mitigations in this commit)
I think the balance are inherent to the change in GhcPs structure, it
is a pathological case with HsAppTy repeating thousands of times.
Metric Increase:
parsing001
- - - - -
9 changed files:
- compiler/GHC/Hs/Binds.hs
- compiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Dump.hs
- compiler/GHC/Hs/Expr.hs
- compiler/GHC/Hs/ImpExp.hs
- compiler/GHC/Hs/Pat.hs
- compiler/GHC/Hs/Type.hs
- compiler/GHC/Hs/Utils.hs
- compiler/GHC/HsToCore/Arrows.hs
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bd619edd1ca8a49c7fc2c4478c0c47ca496d0fc2...148c3bbff805fcffc7561b51be6c9e2daa112e85
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bd619edd1ca8a49c7fc2c4478c0c47ca496d0fc2...148c3bbff805fcffc7561b51be6c9e2daa112e85
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/20231219/376ca2ca/attachment.html>
More information about the ghc-commits
mailing list