Don’t really understand why the performance of clicking on QList has to be >O(n). In this example https://codepen.io/virtuecoder/pen/MWaRewL?editors=1010 clicking on 10 000 QList takes more then 2 seconds, while clicking on the plain div list takes less then 100ms.
QVirtualScroll is great improvement for that scenario but not ideal. There is a lag before the next set of items shows on the list while scrolling resulting in a choppy experience.
So unfortunately, I find the best solution at the moment is not to use QList for such big collections of items.
V
Latest posts made by virtuecoder
-
RE: Tips for long lists?