I don’t see how OO is at fault here, though.
... Compared to L3 cache? Isn't that still at least 10 times faster?
That probably only matters in high performance projects though.
> the correct way to structure IF statements (Common case first etc)
But muh early returns on error D:
RAM := 1
L3 := 2
L2 := 20
L1 := 80
* https://www.intel.com/content/www/us/en/developer/articles/t...I'm just coming here with personal experience and my own anecdote that memory layout does matter even on modern CPU:s and it isn't niche. And because it was designed with OO mindset there wasn't any quick fix available.