Re:Why I prefer objects over switch statements
by Scooty on Friday March 01, 2019 @05:28PM
(#19285966)
It's also trivial to come up with countless "80s-level" examples that never iterate more than 100 times.
Iterating over a megapixel image isn't a common scenario unless you're processing a lot of large images. Obviously you should optimize hot code paths.
It's trivial to come up with 80s-level counter-examples to this.
A megapixel image, for example, is tiny.