Y
Hacker News
new
|
ask
|
show
|
jobs
by
teo_zero
247 days 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.