What if the item of interest is split by the boundary?

See fapplylines in files script.
These kind of contraints cause a lot of headache.


--- ramacd <[EMAIL PROTECTED]> wrote:

> DB;
> 
> There doesn't seem to be an answer there. Unless you claim that the looping
> solution is much longer, to which I say, where 'Process' processes a file:
> 
>    Process file
> 
> a conjunction 'InChunksOf' will process the file in chunks:
> 
>    Process InChunksOf 2048 file
> 
> and not be a byte burden.
> 
> Is there some other benefit?
> 
> >: ...
> ------------------------------------------------------------------------
> |\/| Randy A MacDonald   | APL: If you can say it, it's done.. (ram)
> |/\| [EMAIL PROTECTED]  |
> |\ |                     | The only real problem with APL is that
> BSc(Math) UNBF'83        | it is "still ahead of its time."
> Sapere Aude              |     - Morten Kromberg
> Natural Born APL'er      | Demo website: http://156.34.78.235/
> -----------------------------------------------------(INTP)----{ gnat }-
> 
> ----- Original Message ----- 
> From: "Dan Bron" <[EMAIL PROTECTED]>
> To: "Programming forum" <[email protected]>
> Sent: Thursday, March 29, 2007 2:58 PM
> Subject: Re: [Jprogramming] Processing 1GB+ files without chunking
> 
> 
> > Randy asked:
> >
> > >What is the benefit of not chunking the file?
> >
> > The intended purpose of the message to which this is a response was to
> answer that very question.
> >
> > Put simply, the benefit of not chunking the file is:  Not having to chunk
> the file.
> >
> > -Dan
> >
> > PS, as an analogy:
> >
> >        What's the benefit of not looping?
> >
> >        That is, why write  +/y  instead of
> >          for (int i =0, sum = 0;i < len(y); i++){sum += y[i];}
> >        ?
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to