Closed cyberfox1 closed 3 years ago
Well, it does make a call to the API backend positioned somewhere in the world, randomly selecting a word from a dictionary containing thousands of them and then returning it back. So, yeah the small latency is expected everytime when a call is made to the backend and could be even longer if the network speed is slow.
As explained by @RapidCompiler, this package call API which can add small delay while requesting a random word.
How can it be so slow to generate a random word? Is it downloading word list from internet every time?