Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Joker_vD
12 months ago
|
parent
|
context
|
favorite
| on:
I Like and Use Global Variables
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: