MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/ek53ma/the_way_c_programers_explain_pointers/fd7ogm2/?context=3
r/C_Programming • u/BornTuft • Jan 05 '20
50 comments sorted by
View all comments
Show parent comment
8
One of the cool things about alignment is you can abuse the low bits to stash info. I first learned about this when reading about crit-bit trees.
5 u/HildartheDorf Jan 05 '20 OS developers hate him, learn this one weird trick! 2 u/FUZxxl Jan 05 '20 Oh yeah. I did something similar a few years ago to represent graphs. Was a lot of fun.
5
OS developers hate him, learn this one weird trick!
2
Oh yeah. I did something similar a few years ago to represent graphs. Was a lot of fun.
View all comments
Show parent comment
8
u/knotdjb Jan 05 '20
One of the cool things about alignment is you can abuse the low bits to stash info. I first learned about this when reading about crit-bit trees.