[LRUG] Diffing Strings
Eugene Bolshakov
eugene.bolshakov at gmail.com
Wed Jun 23 22:50:09 PDT 2010
Hi Andy,
I came across an article a couple of weeks ago
http://phpcamp.net/toolbar/real-time-collaborative-editing-with-web-sockets-nodejs-redis
which mentions this tool
http://code.google.com/p/google-diff-match-patch/
It's not available in Ruby, but the list of public users is quite
impressive.
Eugene
Date: Wed, 23 Jun 2010 10:04:29 +0100
> From: Andrew Stewart <boss at airbladesoftware.com>
> To: London Ruby Users Group <chat at lists.lrug.org>
> Subject: [LRUG] Diffing Strings
> Message-ID:
> <B061EE71-4E96-40B6-A1F0-9D8AE3225865 at airbladesoftware.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hola El Rug,
>
> I'm currently using htmldiff [1] to diff strings (versions of a document)
> in my webapp, much as Writeboard diffs different versions of a document.
> htmldiff does exactly what I want...but unfortunately when the two strings
> are long, say 5000 words, it takes several minutes to complete.
>
> Can anybody suggest either a faster library or how I might speed up
> htmldiff?
>
> [1] http://github.com/myobie/htmldiff
>
> Thanks and regards,
>
> Andy Stewart
> -------
> http://airbladesoftware.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20100624/9fa30310/attachment-0003.html>
More information about the Chat
mailing list