# Alex Kladov - Do Not Optimize Away (Highlights)

## Metadata
**Review**:: [readwise.io](https://readwise.io/bookreview/56769892)
**Source**:: #from/readwise #from/reader
**Zettel**:: #zettel/fleeting
**Status**:: #x
**Authors**:: [[Alex Kladov]]
**Full Title**:: Do Not Optimize Away
**Category**:: #articles #readwise/articles
**Category Icon**:: 📰
**URL**:: [matklad.github.io](https://matklad.github.io/2025/12/09/do-not-optimize-away.html)
**Host**:: [[matklad.github.io]]
**Highlighted**:: [[2025-12-10]]
**Created**:: [[2025-12-13]]
## Highlights
- Consider avoiding black boxes for your next benchmark. Instead, stick to natural anti-optimizing-compiler remedies:
• Make input parameters runtime overridable (with compile time defaults),
• print the result (or the hash thereof). ([View Highlight](https://read.readwise.io/read/01kc3x4rnkzpvzhtppfa7dxcs2)) ^965431517