Hi,

I'm using a method that analyses a text given as an argument and returns a two-dimensional array. This array has 5 columns, one filled with strings, two with integers, and three with booleans. The returned array is defined as an array of type variant. It works and returns an array with around 2000 rows from a text of 2 or 3 pages. But it is so slow ! It takes 6 or 7 seconds on my PowerBook G4 867 mHz, with 384 Mo. With the same sample text it used to work very fast with a function filling up 6 different one-dimensional arrays defined before calling the method and given as arguments. So my question is : is it slower because I'm using a multidimensional array, or because this array is defined with the variant type ? Or both ?
Thanks in advance.

Octave

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to