fibonacci is recursive
Closed this issue · 1 comments
Jef-Malfliet commented
Due to the fact that
EM.fibonacci(100);
is recursively implemented, the page will hang on large numbers as input.
A possible solution would be to put the function on a thread so the main thread doesn't get blocked.
MoutPessemier commented
It's looped now