[tex-live] larger arrays in patgen

Werner LEMBERG wl at gnu.org
Thu May 3 13:49:02 CEST 2018


> Note I don't know the upper size limit of those arrays – I don't
> mind if the arrays (in particular `triec_size') are even larger
> since we are going to add more words to our German word list.

Testing has just shown that the values are indeed to small, so please
use

--- /usr/local/backup/TeXLive/Build/source/texk/web2c/patgen.ch	2012-07-16 09:27:23.349502000 +0200
+++ patgen.ch	2018-04-26 16:11:53.116056516 +0200
@@ -78,8 +78,8 @@
  |trie_size| and greater than the number of occurrences of any pattern in
  the dictionary}
 @y
-@!trie_size=550000; {space for pattern trie}
-@!triec_size=260000; {space for pattern count trie, must be less than
+@!trie_size=10000000; {space for pattern trie}
+@!triec_size=5000000; {space for pattern count trie, must be less than
  |trie_size| and greater than the number of occurrences of any pattern in
  the dictionary}
 @z


    Werner



More information about the tex-live mailing list