in reply to Re^4: 5x6-bit values into/out of a 32-bit word
in thread 5x6-bit values into/out of a 32-bit word
Don't take things so literally.
Of course we know our 6 times tables. And the computer is already switched on.
What if your requirements change, and it's 7 4-bit values, or 10 3-bit values? In my code, you only have to change one or two initialisers. In Thelonius's code you have to rework nearly all of it. Even if the particular edits are trivial, there are far too many.
It's a variant on the Don't Repeat Yourself principle. I am surprised you didn't grasp this.
• another intruder with the mooring in the heart of the Perl