3 ms·
"Functional programming in general tends to be better in terms of cache locality" I've seen no evidence to support the "in general" part of this claim. I will
by kasey_junk 12y ago
"Functional programming in general tends to be better in terms of cache locality"
I've seen no evidence to support the "in general" part of this claim. I will agree that pointer chasing kills cache locality and that in some object systems dereferences have a bad impact on this. But in many functional systems you encounter the same problem with cache locality due to the nature of immutable data structures.
- TheLoneWolfling 12y agoHence the next paragraph: "Although this is more of a push away from OO programming than a push towards functional programming."