Divide Large Data Blob?

Richard Gaskin ambassador at fourthworld.com
Mon May 16 20:19:17 EDT 2022


There may be other approaches, but without knowing what the data looks 
like, what the resulting index should look like, and how big the data is 
we'd just be guessing.

-- 
  Richard Gaskin
  Fourth World Systems



Rick Harrison wrote:
> Hi Richard,
> 
> I was looking at the offset function and thinking about
> the starting points.  It still presents a looping problem
> for me that I’m trying to avoid.  If other methods aren’t
> more efficient I will play with it more.
> 
> Thanks,
> 
> Rick
> 
>> On May 16, 2022, at 2:32 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> The offset function has an optional third param for starting point, so setting that value to the number of bytes you want to skip would take you right where you want to be. Offset can then be used in a loop, updating the starting value as you go. Exiting the loop once your into the tail you don't want to index can be a simple if to escape the loop.
>> 
>> There may also be options for using delimiters. What does the source data look like, and what should the resulting index look like?
>> 
>> And the most central question with things like this: how large is "large"?
> 




More information about the use-livecode mailing list