Haskell Optimization Handbook
Table of Contents
indices and tables
Table of Contents
indices and tables
Quick search

Table of Contents

  • Preliminaries
  • Measurement, Profiling, and Observation
  • Optimizations
  • Case Studies

indices and tables

  • Glossary
  • Docs »
  • 3. Optimizations »
  • 3.2. GHC Optimizations
  • ← 3.1.1. GHC Flags
  • 3.2.1. Defunctionalization →

3.2. GHC Optimizations¶

  • 3.2.1. Defunctionalization
  • 3.2.2. The Static Arguments Transformation
  • 3.2.3. Lambda Lifting
    • 3.2.3.1. A Working Example
    • 3.2.3.2. How Lambda Lifting Works in GHC
    • 3.2.3.3. Observing the Effect of Lambda Lifting
    • 3.2.3.4. When to Manually Lambda Lift
    • 3.2.3.5. Summary
  • 3.2.4. Loopification
  • 3.2.5. Manual Worker/Wrapper
  • 3.2.6. Understanding Demand Analysis
  • ← 3.1.1. GHC Flags
  • 3.2.1. Defunctionalization →
© Copyright 2022-2025, Jeffrey Young (doyougnu).
Created using Sphinx 7.2.6 with Press Theme 0.8.0.