3 ms·
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?
by zAy0LfpBZLC8mAC 12y 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?
- xxs 12y agoYou write them to a global state volatile
- zAy0LfpBZLC8mAC 12y agoHow does that require writing the random data to RAM, apart from the volatile variable itself?