Improve Performance
I try to remove the latex compiler to improve the performance. However, even though it reduces a huge amount of dom, but there is still a performance issue when the result grows like 10,000.
To solve this problem, I use a virtual scroller and worker to prevent the calculate and latex compiling block the Main Thread(UI). @arjo129
Yeah I don't expect us to be able to solve 100,000 F.D.s it'll take me some time to work through this code. (It's been a while since I touched this repo). Like I said this was a hack (for my homework lol).
If you're interested one way to further improve performance is to use web workers to do the calculations in a background thread and then send data to the main rendering thread,
If you're interested one way to further improve performance is to use web workers to do the calculations in a background thread and then send data to the main rendering thread,
Hahaha, I found this project just because of my homework. So in our course, we will reach 10,000 possible f.d. after calculating, So maybe the requirement of "10,000 possible f.d. output" is not that uncommon. In this commit, I have already used workers to improve performance, you can check it.