Hi Thorsten,

On Wednesday, June 8, 2005, 11:53:08 AM, you wrote:

TM> a: read %testfile1.txt
TM> b: read %testfile2.txt

Did you mean READ/LINES?

TM> inboth: intersect a b
TM> only_a: difference inboth a
TM> only_b: difference inboth b

TM> My question is, if there are better ways in rebol to achive the same with
TM> lesser memory consumption??

Yes - don't load the whole files in memory. :-)

Is the difference going to be big too? If so you may want to avoid
keeping it in memory too.

OTOH, if you have enough memory for the operation, doing it all in
memory is going to be much faster.

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amiga Group Italia sez. L'Aquila  ---   SOON: http://www.rebol.it/

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to