|
|
|
|
|
by wholesomepotato
924 days ago
|
|
I think you're right. Even better. Did you have time to bench it, etc.? I see what you mean by length. I just skimmed over the text originally as I don't have time for rather lame problems like this. I'd just add 3 bits of length to be part of the index, job done. 12KB lookup table instead of 4KB, assuming 0 is not a valid value (negate to avoid needing 0b11). |
|
It's an interesting idea, but I don't see it being practical, even if the size of the table wasn't an issue.