Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
zAy0LfpBZLC8mAC
11y ago
0 comments
Share
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?
0 comments
default
newest
oldest
xxs
11y ago
You write them to a global state volatile
zAy0LfpBZLC8mAC
OP
11y ago
How does that require writing the random data to RAM, apart from the volatile variable itself?
j
/
k
navigate · click thread line to collapse