4 ms·
Was it the boolean check that degraded performance or was branch misprediction inside a nested loop the root cause? The solution you came to seems quite elegan
by angryredblock 10y ago
Was it the boolean check that degraded performance or was branch misprediction inside a nested loop the root cause?
The solution you came to seems quite elegant but I'd be curious to see metrics with the debug_on check moved outside both loops.
- tasn 10y agoI accidentally posted my reply as a top-comment and it's now too late to change it. Sorry about that.