|
|
| Welcome to the Monastery | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
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 In reply to Re^5: 5x6-bit values into/out of a 32-bit word
by grinder
|
|