Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Large file compare

From: andreas::bolka::gmx::net at: 8-Jun-2005 17:25

Wednesday, June 8, 2005, 11:53:08 AM, Thorsten wrote:
> i want to do a large file compare with rebol. I already wrote a script to do > this, which works fine and compares two testfiles, containing more than > 800000 lines each, within 13 minutes.
^^^^^^^^^^^^^^^^^ are you sure about that number? i just tried a i: intersect read/lines %f1.txt read/lines %f2.txt where f1.txt and f2.txt are both files with roughly 800000 lines (~14mb each). took 0:02:47 on my machine (even that is still awful, but 0:13:00 would be a magnitude even more awful ;). [tested on a p4-m 1.6ghz, 1GB ram, 5400rpm hdd] -- Best regards, Andreas