Premature Optimization Is Bad. Your App Is Also Just Slow.

📰 Medium · Programming

How a Knuth quote became an excuse to ignore performance entirely. Continue reading on Medium »

Published 16 Apr 2026

Full Article

Title: Premature Optimization Is Bad. Your App Is Also Just Slow.

URL Source: https://drodil.medium.com/premature-optimization-is-bad-your-app-is-also-just-slow-febed605700a?source=rss------programming-5

Published Time: 2026-04-16T08:01:01Z

Markdown Content:
# Premature Optimization Is Bad. Your App Is Also Just Slow. | by Heikki Hellgren | Apr, 2026 | Medium

[Sitemap](https://drodil.medium.com/sitemap/sitemap.xml)

[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fdrodil.medium.com%2Fpremature-optimization-is-bad-your-app-is-also-just-slow-febed605700a&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)

Get app

[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)

[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fdrodil.medium.com%2Fpremature-optimization-is-bad-your-app-is-also-just-slow-febed605700a&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

![Image 1](https://miro.medium.com/v2/resize:fill:32:32/1*dmbNkD5D-u45r44go_cf0g.png)

Member-only story

# Premature Optimization Is Bad. Your App Is Also Just Slow.

## How a Knuth quote became an excuse to ignore performance entirely.

[![Image 2: Heikki Hellgren](https://miro.medium.com/v2/resize:fill:32:32/1*xUwJHOpcYg99LA2X7nZTLw.jpeg)](https://drodil.medium.com/?source=post_page---byline--febed605700a---------------------------------------)

[Heikki Hellgren](https://drodil.medium.com/?source=post_page---byline--febed605700a---------------------------------------)

4 min read

·

2 hours ago

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Ffebed605700a&operation=register&redirect=https%3A%2F%2Fdrodil.medium.com%2Fpremature-optimization-is-bad-your-app-is-also-just-slow-febed605700a&user=Heikki+Hellgren&userId=9b257ecfcf10&source=---header_actions--febed605700a---------------------clap_footer------------------)

--

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Ffebed605700a&operation=register&redirect=https%3A%2F%2Fdrodil.medium.com%2Fpremature-optimization-is-bad-your-app-is-also-just-slow-febed605700a&source=---header_actions--febed605700a---------------------bookmark_footer------------------)

[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Dfebed605700a&operation=register&redirect=https%3A%2F%2Fdrodil.medium.com%2Fpremature-optimization-is-bad-your-app-is-also-just-slow-febed605700a&source=---header_actions--febed605700a---------------------post_audio_button------------------)

Share

Press enter or click to view image in full size

![Image 3](https://miro.medium.com/v2/resize:fit:700/1*jT-ECvFxISCGrINuaMAUcg.jpeg)

_Photo by Kevin Ku (https://unsplash.com/@ikukevk) on Unsplash (https://unsplash.com)_

Teams cite [Donald Knuth’s “premature optimization is the root of all evil”](https://dl.acm.org/doi/10.1145/356635.356640) to deflect performance bug reports. The quote is real. The application is also slow. Both things can be true.

Knuth was talking about micro-optimizations inside tight loops — hand-rolling assembly or rewriting algorithms without evidence that the code was actually the bottleneck. He was right. Premature optimization adds complexity and breaks things.

But somewhere along the way, this quote became a shield again
Read full article → ← Back to Reads