3 ms·
Branch prediction should eliminate that.
by kccqzy 8y ago
Branch prediction should eliminate that.
- FartyMcFarter 8y agoNot completely. I can still imagine a few overheads: - code size is bigger, taking up space in the cache and memory; - instructions need to be decoded (whether this affects performance depends on surrounding code); - this branch will take a slot in the branch predictor state (same here).