[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Diff lib

From: Sander Striker <striker_at_apache.org>
Date: 2003-01-09 09:15:38 CET

> From: Karl Fogel [mailto:kfogel@newton.ch.collab.net]
> Sent: Thursday, January 09, 2003 5:34 AM

> "Sander Striker" <striker@apache.org> writes:
> > up to speed. It can always be improved upon later on. I've been told
> > GNU diff uses some heuristic to speed things up, but I refuse to look
> > at their code because of the license issues. If someone could explain it
> > to me though, I would probably be all ears ;).
>
> The GPL does not demand that you do a clean room implementation,
> merely that you don't copy their code. (I am not a lawyer, of course;
> but I personally wouldn't hesitate to look at GPL'd code when
> reimplementing it. Might have some good ideas.)

IANAL either, which is why I didn't want to take the chance. It would be
a shame to have to ditch the final code when I did and it turned out to
be a problem.

In all, I'm glad I did a clean room implementation. Although it is nice
to see good ideas and solutions by others, sometimes reinventing the
wheel brings in new good ideas ;) And more importantly, lets you truly
understand the algorithm.

I'm still interested in more speedup (which will also be achieved by
clearing up some points on the TODO list), and knowing about a trick
in the GNU diff implementation wouldn't hurt...
 
>> [...]
>>
>> Just a heads up,
>
> Sounds great!

Yeah, but does it look and work great too? ;) :)

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 9 09:16:30 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.