On 4/14/2016 12:27 PM, Roland Huettmann wrote:
There is a work-around for me:

Not using "read until <string>" but reading "at" <position> "for" <number
of bytes" also in this huge file.

I can read even 100 MB into memory (it does not create a big problem) and
then process using offset() and then reading the next pack of data.

As Mark suggested, that implies that the search string is uncommon in the text and large amounts of data need to be parsed before a match is found. By reading for a specified number of bytes instead, you guarantee a limited amount of parsing.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.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

Reply via email to