thlzss: Do not calculate the dictionary key twice.
thlzss: Do not calculate the dictionary key twice.

Contains one other optimization.

NecrotekX/thtkx,BLumia/thtk,shnnmnn/thtk,NecrotekX/thtkx,BLumia/thtk,shnnmnn/thtk