Hi Andy,<div><br></div><div>I came across an article a couple of weeks ago</div><div><br></div><div><a href="http://phpcamp.net/toolbar/real-time-collaborative-editing-with-web-sockets-nodejs-redis">http://phpcamp.net/toolbar/real-time-collaborative-editing-with-web-sockets-nodejs-redis</a></div>
<div><br></div><div>which mentions this tool</div><div><br></div><div><a href="http://code.google.com/p/google-diff-match-patch/">http://code.google.com/p/google-diff-match-patch/</a></div><div><br></div><div>It's not available in Ruby, but the list of public users is quite impressive.</div>
<div><br clear="all">Eugene<br>
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Date: Wed, 23 Jun 2010 10:04:29 +0100<br>
From: Andrew Stewart <<a href="mailto:boss@airbladesoftware.com">boss@airbladesoftware.com</a>><br>
To: London Ruby Users Group <<a href="mailto:chat@lists.lrug.org">chat@lists.lrug.org</a>><br>
Subject: [LRUG] Diffing Strings<br>
Message-ID:<br>
        <<a href="mailto:B061EE71-4E96-40B6-A1F0-9D8AE3225865@airbladesoftware.com">B061EE71-4E96-40B6-A1F0-9D8AE3225865@airbladesoftware.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hola El Rug,<br>
<br>
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.<br>

<br>
Can anybody suggest either a faster library or how I might speed up htmldiff?<br>
<br>
[1] <a href="http://github.com/myobie/htmldiff" target="_blank">http://github.com/myobie/htmldiff</a><br>
<br>
Thanks and regards,<br>
<br>
Andy Stewart<br>
-------<br>
<a href="http://airbladesoftware.com" target="_blank">http://airbladesoftware.com</a><br></blockquote></div></div>