haskellfoundation / haskellfoundation/hs-opt-handbook.github.io

Eta-expansion chapter

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
ghc miscellaneous
Dominant language
HTML
Stars
190
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Chapter on how eta-expansion can change performance.

- should show the core and stg
- need benchmarks for this
- might add it to canonical programs section
- consider describing the `oneShot` monad trick

References from around the web:
- https://mail.haskell.org/pipermail/haskell-cafe/2022-June/135383.html
- https://discourse.haskell.org/t/memoization-performance/4709

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.