Cache friendly code?

Hi all,

Can you point me to some example of code that takes into account cache friendliness ? Maybe some benchmarks and practical examples ?

Have a look at the linked list vs slice example in


Hi @amnon ,

That was a nice talk, it really inspired me. Thank you for sharing it.

Can you give me an idea where to search, for more examples of cache friendliness, perhaps closer to the every day code that we write ?

Also, you mention we have 3 tools to improve: embedding, slices and smaller data types. Would you share some words on how could I measure the efficiency of each, and how to find even more tools and tips ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.