How to find out memory layout of your data structure implementation on Linux 64bit machine
- by ajay
In this article, http://cacm.acm.org/magazines/2010/7/95061-youre-doing-it-wrong/fulltext
the author talks about the memory layouts of 2 data structures - The Binary Heap and the B-Heap and compares how one has better memory layout than the other.
http://deliveryimages.acm.org/10.1145/1790000/1785434/figs/f5.jpg
…