Selection differences -> adds and removes
Matt Sergeant
msergeant at messagelabs.com
Wed Nov 16 22:22:14 GMT 2005
On 14 Nov 2005, at 16:15, Lusercop wrote:
> On Mon, Nov 14, 2005 at 06:22:45PM +0000, Jacqui Caren wrote:
>> A pretty standard problem.
>> I have a current set of integers (1,2,15)
>> and a updated set of integers (1, 4,15,19)
> [...]
>> Is there a perl module that holds such a utility function?
>
> Algorithm::Diff
> http://search.cpan.org/~tyemq/Algorithm-Diff-1.1901/lib/Algorithm/
> Diff.pm
Will the list get large? Algorithm::Diff requires the list fits into
ram.
An alternate algorithm (if it won't fit into ram) exists for sorted
data and it's probably faster than Algorithm::Diff.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the london.pm
mailing list