[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff as a library?
From: |
Bruno Haible |
Subject: |
Re: diff as a library? |
Date: |
Wed, 15 Jan 2003 15:19:07 +0100 (CET) |
Stepan Kasal writes:
> a hack: couldn't you just make hunderds of links to the file and then use
> diff -r ? (At least on Unix-like platforms.)
That would only work if 'diff' has options that let me specify
start and end offsets for each of the hundreds files.
> But maybe that shared lib is the right solution here.
That's why I'm asking :-)
> But I'd say you should ask for improvement of msgdiff speed, not specifying
> which method should be used.
Well, I wrote msggrep, I know which is its bottleneck, and I know
msgdiff will have the same bottleneck: calling an external program 200
times for a 100 KB input file.
Bruno