Y
Hacker News
new
|
ask
|
show
|
jobs
by
zAy0LfpBZLC8mAC
4301 days ago
Why shouldn't the compiler be able to figure out that you sum a series of numbers that aren't used anywhere else, thus don't need to be spilled to RAM?
1 comments
xxs
4301 days ago
You write them to a global state volatile
link
zAy0LfpBZLC8mAC
4301 days ago
How does that require writing the random data to RAM, apart from the volatile variable itself?
link