On Apr 3, 2012, at 8:17 AM, Richard Gaskin wrote: > ...Mark came through on his end of the bargain wonderfully, providing a > sample function that worked on the first level of array keys, which was > enough for me to expand it to be able extract the data from any key > regardless of depth. > > The article explaining it all is in progress now and close to done. I expect > to be able to post it to LiveCode Journal by Saturday. > > Here's a tantalizing tidbit to whet your appetite: > > The sample stack I wrote for this creates a three-dimensional array with 100 > items in each dimension, resulting in an arrayEncoded file with 1 million > elements that's about 20 MBs on disk. > > The function I made from Mark's example code can extract the data from any > element in that file in about 3 to 5 milliseconds. > > Hint: the function makes heavy use of the binaryDecode function and the seek > command, both of which are explained in depth in the article and which you > may find very valuable for a wide variety of uses. The seek command is a god > for rapidly traversing large files easily. > > I look forward to sharing this with you ASAP -
Cool stuff. Can't wait to read your article. Best regards, Mark Talluto http://www.canelasoftware.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode