Jan 1, 2019

[C++][Go] data locality

Read:
https://blogs.msdn.microsoft.com/oldnewthing/20181205-00/?p=100405


I like Raymond Chen's posts, a lot. He's one of the core Windows API people from MFC era~

This post is merely about data locality, and most of the qualified engineers would have known this during the 101 course of computer science, though this could happen in other languages as well, e.g Golang.

Rule of thumb, while doing de-reference inside a loop (for/while etc.), always think about data locality issue.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.