Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2005 11:22:55 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fast diff command for large files?
Message-ID:  <436B8ADF.4000703@mac.com>
In-Reply-To: <200511040956.19087.kirk@strauser.com>
References:  <200511040956.19087.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kirk Strauser wrote:
> I need to routinely find the diffs between two multigigabyte text files 
> (exporting a set of FoxPro tables to a PostgreSQL database without doing a 
> complete dump/reload each time, in case you were wondering).  GNU diff from 
> the base system and from ports chokes.  The textproc/2bsd-diff works OK, 
> but is glacially slow.

Multigigabyte?  Find another approach to solving the problem, a text-base diff 
is going to require excessive resources and time.  A 64-bit platform with 2 GB 
of RAM & 3GB of swap requires ~1000 seconds to diff ~400MB.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436B8ADF.4000703>