MoutPessemier/enhancedMathJS

fibonacci is recursive

Closed this issue · 1 comments

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.

It's looped now