This reminds me of a competition for extra credit in one of my CS classes to write a C++ program in “as few statements as possible,” where I took the obvious algorithm, completely unrolled the loop, and used logical connectives to stick every statement together into one.
That’s exactly what I would’ve done!