|
|
|
|
|
by robocat
990 days ago
|
|
Comedy: did you notice that the next static definition is for a 256 byte lookup table for the unreversed bits too: TIFFNoBitRevTable[256] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, ... 0xFF }
Maybe PSHUFB/VTBL to reverse each nibble and then put the reversed nibbles together would be wayyy faster?I'm guessing portability matters here, and there is not much commercial pressure to actually optimise this TIFF library? |
|