Optimize memory allocation of the apat algorithms

Former-commit-id: 5010c5a666b322715b3b81c1078d325e1f647ede
This commit is contained in:
coissac committed 2023-03-28 19:37:05 +07:00
1 parent 21819cd41e
commit 988ae79989
19 files changed
+117 -180

No files matched your search

-1
View File
@@ -106,7 +106,6 @@ typedef struct { /* sequence */
int32_t datsiz; /* data buffer size */
int32_t circular;
uint8_t *data; /* data buffer */
char *cseq; /* sequence buffer */
StackiPtr hitpos[MAX_PATTERN]; /* stack of hit pos. */
StackiPtr hiterr[MAX_PATTERN]; /* stack of errors */
} Seq, *SeqPtr;