Regardless, checking a register or hot value already in cache against a constant is free on modern CPUs.
Regardless, checking a register or hot value already in cache against a constant is free on modern CPUs.