I have 4 lists which I would like to add quite a lot of information to. Say
100,000 rows or so. I never need to remove anything or edit anything from
these lists. Data trickles in - I don't have all of the information
immediately.
As data comes in, is it faster to let the DataListView add the objects, or to
use the FastObjectListView and call SetObjects()?
Sorry, I would just time the execution myself, but I'm not sure how to for
DataListView.
Cheers,
Frederik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For a normal ObjectListView (which is what DataListView actually is), the
speed of building a list is 1000-2000 rows per second, depending on the
machine and the number of columns. Building 100,000 rows will take 30 seconds
or more!
But with a FastObjectListView, it will "build" in less than one second for
millions of rows.
So, FastObjectListView with SetObjects() is definitely the way to go.
Regards,
Phillip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
Simple question:
I have 4 lists which I would like to add quite a lot of information to. Say
100,000 rows or so. I never need to remove anything or edit anything from
these lists. Data trickles in - I don't have all of the information
immediately.
As data comes in, is it faster to let the DataListView add the objects, or to
use the FastObjectListView and call SetObjects()?
Sorry, I would just time the execution myself, but I'm not sure how to for
DataListView.
Cheers,
Frederik
If you want speed, you want a FastObjectListView.
For a normal ObjectListView (which is what DataListView actually is), the
speed of building a list is 1000-2000 rows per second, depending on the
machine and the number of columns. Building 100,000 rows will take 30 seconds
or more!
But with a FastObjectListView, it will "build" in less than one second for
millions of rows.
So, FastObjectListView with SetObjects() is definitely the way to go.
Regards,
Phillip
Wow, quick response.
Thanks Phillip!