d7a146fb32b6 — Laurens Holst 5 years ago
Inflate: Inline DecodeLiteralLength.

Improves performance by 0.8%.
1 files changed, 2 insertions(+), 2 deletions(-)

M src/Inflate.asm
M src/Inflate.asm +2 -2
@@ 259,7 259,7 @@ Inflate_WriteAndNext:
 	exx
 	call Writer_Write_IY
 	exx
-	jp Inflate_DecodeLiteralLength
+	jp hl  ; jp Inflate_DecodeLiteralLength
 
 ; Literal/length alphabet symbol 256
 ; bc = inline bit reader state

          
@@ 654,7 654,7 @@ Inflate_CopyAndNext:
 	call Writer_Copy_IY
 	exx
 	ex de,hl
-	jp Inflate_DecodeLiteralLength
+	jp hl  ; jp Inflate_DecodeLiteralLength
 
 ;
 Inflate_literalLengthSymbols: