2 ms·
> I still don't understand why that extra print statement changes the branch prediction. The article is under-informing you: they should have shown the full di
by pjc50 3y ago
> I still don't understand why that extra print statement changes the branch prediction.
The article is under-informing you: they should have shown the full disassembly for both loops, not just the bit in question. I suspect the explanation as given is slightly wrong, but there's no way to disprove it without replicating the setup myself.