79619878

Date: 2025-05-13 14:34:47
Score: 1.5
Natty:
Report link

This sounds like an example of the Branch Predictor making a mistake.

Without the `if` statement, the code has no branches. Add in some branches and the branch predictor has to start guessing which branch will run. And sometimes it gets it wrong, causing a performance penalty.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael