Hi,
I’m making a game where player can type a word up to 13 letters long. I got a text file with all the words in English, but I’m not sure what is the best way to convert this into Lua table so I can look up for player’s word to validate if it is in the dictionary.
I’m afraid that if I put all the words into a single Lua table it will consume too much RAM or worse the device will crash.
Should I split the list of words in to many lua modules. One module for 2 letters words or one module for words that start with “A”. Or if I’m totally lost and there is a ancient secret dev technique to do it.
Could anyone show me the way?
Cheers,