I'm generating mxml programatically based on metadata in a database
and compiling it to swf server-side. The mxml I'm generating has a
single data grid with data populated using an Array as:
private var dataArray:Array =
[{col1:value1, ..., colN:valueN},
{col1:value1, ..., colN:valueN},...]
When this array size is 5000 (num of rows in data grid) with 5
columns, the time taken to compile is ~15 seconds on my Windows
Pentium 2.66GHz machine. Does the time taken have anything to do with
the way the data is represented? Would it be any faster if I had used
<mx:Model> or any other form for the data?
Also when the size of the data is 50,000 rows, the compilation runs
for >30 min and seems to hit some size limit. Again i'm not sure if
this has to do with an inefficient data representation.
Thanks
Vijay