0 Members and 1 Guest are viewing this topic.
Notepad++ took more like a whole second to paste everything (over 1,000,000 characters after all). Notepad++ is kind of the exception. It's a very lightweight program . Bulky IDEs like the script editor in the student software tend to crash (or come very close) when I paste in the code, though. I don't even think the syntax highlighting can be turned off in the student software to avoid this issue. That's why I had to use the old scripting tools and Notepad++.I clarified this in my previous post.
Figures. The student software must allow for more memory to be used. One thing that could be done is generate the table before hand. It would be faster and there wouldn't be two lists of words. 100,000 words is a bit excessive, so a dictionary with less words would also work. I tried actually sending this to my nspire cx, so as long as the rest of the program isn't massive, this should work. There are 81536 words. I'll attach the file of the pre-generated table.
I wouldn't say "shrunken." This dictionary is probably larger than an array with the words. It just indexes a lot faster than an array since most of the guess and check is avoided.
[^a-z]
\r\n
","