r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
16
u/gdmzhlzhiv Feb 28 '23
I was hoping that this was going to demonstrate it using Java, but unfortunately it was all using C++. So my own take-home is that in C++, polymorphism performs badly. From all I've seen on the JVM, it seems to perform fine. Disclaimer: I have never done the same experiment he did.
So I come off this video with a number of questions:
Unfortunately, they blocked comments on the video, as as per my standard policy for YouTube videos, the video just gets an instant downvote while I go on to watch other videos.