aboutsummaryrefslogtreecommitdiff
path: root/tools/apultra/src/shrink.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-09-08 16:17:29 +0100
committerJuan J. Martinez <jjm@usebox.net>2021-09-08 16:17:29 +0100
commitd46a448e9d44f62cb49ae917c69d8a2415e08a9e (patch)
tree14a87ad2774c04e372a08a1927b98b4a9b96625d /tools/apultra/src/shrink.h
parent2e8b3d6c5f4f18fb3f84fabd5d4381e55610e519 (diff)
downloadubox-msx-lib-d46a448e9d44f62cb49ae917c69d8a2415e08a9e.tar.gz
ubox-msx-lib-d46a448e9d44f62cb49ae917c69d8a2415e08a9e.zip
Updated apultra to version 1.4.2
Diffstat (limited to 'tools/apultra/src/shrink.h')
-rw-r--r--tools/apultra/src/shrink.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/apultra/src/shrink.h b/tools/apultra/src/shrink.h
index 0057d68..d02c2dc 100644
--- a/tools/apultra/src/shrink.h
+++ b/tools/apultra/src/shrink.h
@@ -49,7 +49,7 @@ extern "C" {
#define VISITED_FLAG 0x8000000000000000ULL
#define EXCL_VISITED_MASK 0x7fffffffffffffffULL
-#define NARRIVALS_PER_POSITION_MAX 55
+#define NARRIVALS_PER_POSITION_MAX 62
#define NARRIVALS_PER_POSITION_NORMAL 46
#define NARRIVALS_PER_POSITION_SMALL 9
@@ -86,6 +86,12 @@ typedef struct {
int score;
} apultra_arrival;
+/** Visited match */
+typedef struct {
+ int outer;
+ int inner;
+} apultra_visited;
+
/** Compression statistics */
typedef struct _apultra_stats {
int num_literals;