haskellfoundation / haskellfoundation/hs-opt-handbook.github.io
Make a Guideline section
Open
enhancement
- Dominant language
- HTML
- Stars
- 190
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Section should be small bite size snippets of recommendations for performance:
1. Use strict data
2. unpack strict fields if you don't need laziness
3. let GHC optimize for you, except in extremely hot loops where your effort is worth it
4. only use lists as a stack
etc.
each one should have a variable and name associated so they can be linked throughout the text.
Contributor guide
Assessment
This issue has not been assessed yet.