Fast path check for exact luminance encoding fit!
Not only substantially better quality at high bitrates (only works up to 6x5, and the roll off is fairly steep), but also has shiny PSNR upside. Even helps -through image quality a bit, as this bypasses the "eh, that's good enough" early out in the main compressor path.
(And yes, you might well wonder why anyone bothers with an 8bpp compression for 8-bit uncompressed data)