4 ms·
Yeah! Just goes to show you can make a cool thing that is really quick and dirty under the hood. You could make this page load instantly by making the random s
by umvi 6y ago
Yeah! Just goes to show you can make a cool thing that is really quick and dirty under the hood.
You could make this page load instantly by making the random selection happen in the backend instead of in the browser, but then I guess it would no longer just be a static file.
You could also just have a compact array of pairs and then generate the sentences in the browser instead of having half a million pre-generated strings.