This might seem like a bit of a duplicate of some other questions I asked in other topics, but not quite. This isn’t entirely about doing the things I’m doing with my workaround for the application I am making, but could be relevant to anyone using a lot of texts for other reasons.
What settings can you use to make it possible to have more texts? I was testing the number of “text that varies” items Inform can have in a game, and somewhere between 12500 and 15000 (not sure exactly the number) with an average text size of 10 words at 5 letters a word the application cannot compile with code 10. This time I tested, I made sure my test created truly unique texts with different randomly generated words, but I’m not sure there really is any difference there. The application compiles/loads and runs quickly and without any issue at all, with 1 text or about 12500… but it suddenly just can’t take any more texts sometime shortly after that.
I have these settings initially:
Use MAX_OBJECTS of 10000. Use MAX_PROP_TABLE_SIZE of 1000000. Use MAX_STATIC_DATA of 1000000. Use MAX_SYMBOLS of 40000. Use MAX_ARRAYS of 40000. Use MAX_NUM_STATIC_STRINGS of 40000. Use MAX_EXPRESSION_NODES of 512. Use DICT_WORD_SIZE of 20. Use dynamic memory allocation of at least 16384. Use maximum text length of at least 3000.
Randomly doubling any or all of these settings does not change matters. No more texts seem to be allowed. Texts seem to be stored differently than thing objects, rules, tables, etc. though, and so perhaps there is a way to increase how many can be stored? Are there settings that should increase the limit?