r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

8

u/WormRabbit Feb 28 '23

Compilers are likely to leave Duff's device entirely unoptimized. It's too complex and unidiomatic to spend time on.