Further optimizations

Try memcmp first for true leading key.  Squeeze last byte from Datum.