2 ms·
Why not generate random data then read it? Or even a constant, then read it?
by ikeboy 11y ago
Why not generate random data then read it? Or even a constant, then read it?
- TheLoneWolfling 11y agoBecause the compiler will optimize it out. Even if you return the random data / constant the compiler will optimize out the store to the variable and just pass it through directly.