3 ms·
Clever, but I prefer the parent's proposal: return (0x43201 >> x*4) & 7 It's more understandable and the number of instructions is the same.
by teo_zero 1y ago
Clever, but I prefer the parent's proposal:
return (0x43201 >> x*4) & 7
It's more understandable and the number of instructions is the same.