We have a decent overview of this now, but we really should have a much more robust section (probably in the STG chapter #14) that covers:
- known vs unknown functions: across different boundaries: modules, packages
- fast and slow stg applies, genutils
- how to check for known and unknown (prof report)
- performance consequences of exporting a function from a module
- How these interact with interface files
- probably something about unfoldings
Some resources:
Basically, as a user of GHC I want to:
- understand the consequences of exporting a function with respect to runtime performance.
We have a decent overview of this now, but we really should have a much more robust section (probably in the STG chapter #14) that covers:
Some resources:
Basically, as a user of GHC I want to: