[Qt-interest] Why QListView is so slow and QTableView is fast?
Benjamin Meyer
ben at meyerhome.net
Thu Aug 27 07:56:29 CEST 2009
QTableView can scale much larger and faster then QListView can. I
have an application that has 101,000,000+ rows inside of a QTableView
with no scroll or startup problems, while this would not be possible
in a QListView. You can always use a QTableView and just turn off the
headers if you just want a classic vertical list ala QListView.
http://benjamin-meyer.blogspot.com/2006/10/netflix-prize-contest.html
The scroll at the end sounds fishy. I would profile to see if that is
a issue in your code or Qt. If it is a regression I would file a bug
with Nokia/Trolltech
-Benjamin Meyer
On Aug 25, 2009, at 1:50 PM, Sylvain Pointeau wrote:
> Hi,
> I am testing QListView for a large number of items (36'000)...
> it is so sloooow (I stopped the application, it never shows up) .
> (yes I set UniformItemSizes to true)
>
> I tried QTableView and it is immediate.
> However the scrolling become slow if we are viewing the last elements.
>
> Please can someone give me some insights?
>
> Cheers,
> Sylvain
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list