You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the project is very useful for me. While it has a performance issue when input goes complex, for example, {A} -> {E,I}, {B,C} -> {D,E,G}, {C,E,H} -> {G,J}, {D} -> {C,J}, {D,H,J} -> {A,B}.
I have done some tests on the application, here are two main reasons for the performance issue:
Latex compiling cost time: Converting latex to HTML is quite slow.
The HTML code generated by latex is quite complex, as the data grows, it consumes lots of memory.
Here are two ways I think which will solve the problem,
Don't use latex, write a small compiler to convert FD to HTML code.
Use a virtual list or pagination, only render limited items on the screen. While, for this method, I can introduce some frameworks like Vue, or only use pure Javascript but more complex.
Which method do you think is better? After your reply, I can work on it and create a PR soon.
Hi @thtTNT , thanks for wanting to work on this. Approach 1 seems a lot more sensible. Theres also the question of if its actually render time, or something in the code. A lot of the code has an exponential run time. I kind of wrote this as a hack so 🤷 .
Hi, the project is very useful for me. While it has a performance issue when input goes complex, for example, {A} -> {E,I}, {B,C} -> {D,E,G}, {C,E,H} -> {G,J}, {D} -> {C,J}, {D,H,J} -> {A,B}.
I have done some tests on the application, here are two main reasons for the performance issue:
Here are two ways I think which will solve the problem,
Which method do you think is better? After your reply, I can work on it and create a PR soon.
@arjo129
The text was updated successfully, but these errors were encountered: