diff options
Diffstat (limited to 'quackleio/gaddagfactory.h')
-rw-r--r-- | quackleio/gaddagfactory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quackleio/gaddagfactory.h b/quackleio/gaddagfactory.h index 3017085..a7289db 100644 --- a/quackleio/gaddagfactory.h +++ b/quackleio/gaddagfactory.h @@ -22,6 +22,10 @@ #include <cstdint> #include "flexiblealphabet.h" +// This isn't a strict maximum...you can go higher...but too much higher, and you risk overflowing +// node pointers, which will get you garbage words. The OSPS dictionary is known to trigger +// such overflows. +const int QUACKLE_MAX_GADDAG_WORDCOUNT = 500000; class GaddagFactory { public: |