6 ms·
Slightly offtopic: if I type "123456" the UI becomes unresponsive (cannot type backspace for instance). It may be that the language Purescript is "lazy", but so
by amelius 11y ago
Slightly offtopic: if I type "123456" the UI becomes unresponsive (cannot type backspace for instance). It may be that the language Purescript is "lazy", but somehow this does not seem to work out for the user. Any comments?
- bjz_ 11y agoPurescript is eager - not lazy. Didn't have trouble with 123456... the key-presses did seem a tad slower though. I'm on Firefox Developer.
- sharkdp 11y agoYes, thanks for clarifying: Purescript is eager. But the slow response time is not related to Purescript being eager or lazy, it's related to the slow prime factorization algorithm.
- sharkdp 11y agoI added a hard limit of 10,000 (in the input field and the code), because the prime factorization will be too slow otherwise. Maybe your browser takes a long time to draw the diagram for 10,000 and that is why the UI becomes unresponsive.