Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aston
on Aug 5, 2008
|
parent
|
context
|
favorite
| on:
Google interview questions - fun brain teasers
For homogenous variables (like two "int"s), I don't think you could make a strong argument for the compiler reordering them.
huhtenberg
on Aug 5, 2008
[–]
Some advanced optimization may benefit from this sort of reordering. Alternatively, a compiler that reorders all local variables for "security" purposes may mix even just two ints if it's implemented in a dumb way.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: