added or updated code comments

as suggested by @terrelln,
to make the code of the optimal parser a bit more understandable.
This commit is contained in:
Yann Collet committed 2024-02-05 18:32:25 -08:00
1 parent 887f5b62ae
commit b88c593d8f
2 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ typedef struct {
int price; /* price from beginning of segment to this position */
U32 off; /* offset of previous match */
U32 mlen; /* length of previous match */
U32 litlen; /* nb of literals after previous match */
U32 litlen; /* nb of literals since previous match */
U32 rep[ZSTD_REP_NUM]; /* offset history after previous match */
} ZSTD_optimal_t;