Arrays

Ben Fisher boinjyboing at hotmail.com
Thu Feb 3 20:01:37 EST 2005


I'm using fairly large arrays. These need to be stored as a file on the hard drive or in some other manner. The trick is that they have to be quickly retrieved. 

The way I'm handling this now is to write all the elements of the array into return-delimited data, compressing this data, and then writing it to the file. This is slow to retrieve. I know that it's slow to find the nth line of something, but I can't think of another way to delimit the data.

Can anyone think of a way to store an array? Can it be saved into the stack somehow?

-Ben



More information about the use-livecode mailing list