dhowe / ritajs-v2

RiTa: generative language tools
https://rednoise.org/rita
GNU General Public License v3.0
103 stars 11 forks source link

test long-running function with web-worker #205

Open dhowe opened 2 years ago

dhowe commented 2 years ago

rilexicon (search) rimarkov (generate) ?

dhowe commented 2 years ago

need to do a test with a web-worker, perhaps with some of the lexicon functions... the slowest being 'soundsLike()' and/or rethink the function, which currently needs to iterate through the full dictionary regardless of how many items are requested...

need to verify that worker code will run in both browser and node after webpack build