Earlier quoted context omitted.
Just the other day I showed one of our junior devs how they could turn their 10 lines of somewhat slow and obfuscated code into a 3 arguably more readable lines using a bitwise operations. And this was a front-end webapp. Then again, more readable is subjective and some devs might see "<<" and get thrown off.
A reasonable 'compromise' of 3 lines of code with 7 lines of comment to explain what it's doing would be my preference.
The three lines of code were:
for ( ... ) { x = x The developer was essential using an array of booleans to simulate a bitwise operator.
It is very sad that devs these days need a comment to know what that does. Would we expect 7 lines of comments if it was:
for ( ... ) { x = x + y; }