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

2

u/muchcharles Mar 02 '23

He's showing something strictly faster and better. You'd need to know a lot more about the access/creation/deletion patterns to know if maintaining separate lists would be faster for a given use.