The maximum word length is 64 bytes, and the chain length is bounded by
the word length. We're sort-of forced into `size_t' for the word length
with QP tries, because `Tnextl' wants to store the key length through a
pointer.
# endif
#endif
-struct word { const char *p; size_t n; } word;
+struct word {
+ const char *p;
+#if USE_QPTRIE
+ size_t n;
+#else
+ unsigned short n;
+#endif
+} word;
struct node {
#if USE_XYLA
struct word w;
#endif
struct node *down, *right, *up;
- int len;
+ short len;
};
#define WORDMAX 64