all groups > flash data integration > july 2005 >
You're in the

flash data integration

group:

Dataset Population Very Slow


Dataset Population Very Slow WHC325
7/1/2005 12:00:00 AM
flash data integration:
A dataset of 100 fields and variable length is populated in AS2 from a Flash
remoted query result. The query result arrives from the CF server very quickly.
The dataset fields are each bound to individual TextInput boxes. Populating the
dataset with this AS2 script:

ds1.addItem({ProductID:qryRow.Frame, ImageID:qryRow.ImageID............(for 5
of the 100 dataset fields)

It works OK, but takes about 0.5 sec per dataset row to populate. If the
number of bindings is reduced, the population speed increases, so the problem
appears to be related not to the number of dataset fields, but the number of
bindings.

Similarly, when reading the dataset into an array, processing is very slow.

I've seen a couple of other postings related to dataset performance issues,
but not this specifically. I have workaround for the initial population
problem, but sooner or later the dataset elements have to be read into the
array.

Suggestions? Thank you.

Bill
Re: Dataset Population Very Slow conquerors04
7/5/2005 12:00:00 AM
Yeah, I have a suggestion. I have a similar deal where I load a bunch of
records into the dataset, but I only allow the user to view 15 at a time, then
they scroll through the dataset and add the next fifteen upon request, would
that work for you?
Re: Dataset Population Very Slow WHC325
7/19/2005 1:22:49 PM
Reading a portion of the data isn't an option for this app. What I've done to
overcome the dataset performance issues is use 2 dimension arrays and bind to
components in AS. Very fast and have tested with 500,000 data points without
issues.
AddThis Social Bookmark Button