Still on the #Quicktake 150 decoder. I didn't think actually looking close at the data would really help, but I did, and it did. Apparently the most common factor (which is used for half the pixels, both multiplying and later, dividing) is 48, and appears more than 50% of the time in my test set of 30 pictures. Sometimes more than 70% of the time.
That called for special-casing. The division became a lookup table, losing a bit of precision in a non-visible manner, and the division n/48 became equivalent to (n&0xFF00)/48.
This got us to < 100 seconds decoding time!
#RetroComputing #AppleII