Comment Comment by rileymat2 In the past when I have written basic benchmarking code like the first example, the compiler will typically optimize all the code away.I am curious why this did not happen or what optimization flags were passed in.If it was prevented optimization through flags, is this a fair test? parent rileymat2 5 years ago
I am curious why this did not happen or what optimization flags were passed in.
If it was prevented optimization through flags, is this a fair test?