Re:I Like and Use Global Variables
by Joker_vD on Monday February 10, 2025 @05:38AM
(#42998902)
A useless microbenchmark question: what is faster, accessing a global variable (which has to go through the GOT nowadays) or dereferencing a field in a structure that was passed to you by a pointer (a straightforward register+offset load)?
[ Parent
| on HN ]
There are no comments on this comment yet.