In another case study, we measure the impact of a subtle space optimization.
With just a few lines of code, we can empirically confirm that the optimization works as intended, by measuring peak memory consumption as an abstract property on the computation graph.