Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: