Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: If you're going to write your own allocator, you need to respect the MEMORY_ALLOCATION_ALIGNMENT

$
0
0

@Evan:

I have never understood the alignment thing.

Never understood the rules behind when it is needed and when it should/recommended be used.

Is it the pointer that need to be in a boundary or the position in the parent structure of the SLIST_HEADER or the whole parent structure needs to be aligned. All the above ?

Been programming for over 10 years. Never needed to learn it.

This makes me feel uneducated again.

I have to put it in the todo list.


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>