2 ms·
Ok, then the nested scope is indeed exactly what you want. I don't see how obfuscating this purpose and trying to rely on obscure compiler optimisations and int
by auggierose 2y ago
Ok, then the nested scope is indeed exactly what you want. I don't see how obfuscating this purpose and trying to rely on obscure compiler optimisations and intricate semantics would be a good idea.
- dgacmu 2y agoBecause, as someone else noted, it might be hidden for you because you're using something that's inside another function, macro, struct, etc.
- auggierose 2y agoYes, that is a valid reason. If I get that optimisation for free, why not? I still would not rely on that optimisation, though. If I think this could be an actual bottle neck, I would make the shared buffer explicit in my code.