Hello,
I am trying to iterate through a big JSON variable (about 1500 nodes).
It works but FF pops up with the message saying the script is not
responding (A script on this page may be busy... do you want to stop
the script, debug, continue). If I select continue, it works fine. It
is just that the iteration takes a bit of time to go through all the
nodes. Is there a way to avoid the above? I searched a bit the net and
it is not very clear how to do so as JS is not multithreaded from what
I could gather. However, I am sure, there could be some asynchron
iteration releasing the cpu from time to time to ensure nothing else
needs to be done on the page.
Any ideas?
/Carl