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
Currently if you open the 'view solutions' of problem 1 - it goes into a frozen state and then after a minute or so it shows up all solutions. Will be good user experience to load first 5-10 solutions and then on scroll down bring the next 10 etc.
Also, can think for creating a Set and remove duplicate solutions. Look at the screenshot with duplicate solution for problem 1 (it might be the case for other as well). Better will be to clean the solutions data one time (remove duplicate) and store it.
The text was updated successfully, but these errors were encountered:
Yes. It might not be so much the amount of data, but the amount of rendering might take the most of the time. React is known to not work well with large lists. So maybe it's good to first find out if that's the bottleneck or not. React Virtualized offers a solution for rendering larger lists well, perhaps there are also other solutions. @oxalorg
as mentioned in #34 some of the solutions take too much time to load, so
limit it to 1000 solutions before a more appropriate lazy pagination
solution is implemented
Currently if you open the 'view solutions' of problem 1 - it goes into a frozen state and then after a minute or so it shows up all solutions. Will be good user experience to load first 5-10 solutions and then on scroll down bring the next 10 etc.
https://4clojure.oxal.org/#/problem/1/solutions
Also, can think for creating a Set and remove duplicate solutions. Look at the screenshot with duplicate solution for problem 1 (it might be the case for other as well). Better will be to clean the solutions data one time (remove duplicate) and store it.
The text was updated successfully, but these errors were encountered: