Searching through binary/text files efficiently

Mark Smith mark at
Tue Sep 11 13:08:31 EDT 2007

I'd just load the whole file and use "is in"...

put URL ("file:" & tFile) into tData
return someString is in tData

In my experience, there isn't much to be gained by loading the file  
in chunks (open from file etc).
It usually seems to be most efficient to hand as much work off to the  
engine as possible.



On 11 Sep 2007, at 15:12, Roger.E.Eller at wrote:

> I have several thousand files which contain a mixture of text and  
> binary
> data. I need to "look inside" all of them and determine which ones  
> contain
> a specific text string such as "baj_sese_ 20070105.rk". What is the  
> most
> efficient rev method to do this? These files are of various sizes  
> ranging
> from 700kb to 10mb.
> Roger Eller <roger.e.eller at>
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:

More information about the use-livecode mailing list