🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263084

Longest Common Subsequence Example.

#263084
From: Jeff-Relf.Me
Date: Fri, 21 Dec 2018 17:30
16 lines
1474 bytes
Hadron Quark:
> ALl the best diff tools exist on windows too;
> many of the better ones are ONLY on Windows.
> But you knew that; or should've known.

"diff" is a VERY SIMPLE algorithm ( WinMerge uses it );
Google "Longest Common Subsequence Example".

It's recursive, but you don't program it that way,
to avoid stack overflows ( and slowness );
instead, you create a lookup table.

Mine looks like this ( red for old, green for new ):
  Jeff-Relf.Me/Diff.PNG

I keep copies of my source code going back to August 2007.
Technical Details
Message-ID: <Jeff-Relf.Me@Dec.21--9.30am.Seattle.2018>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.c++.(381507).mbox.7z!not-for-mail
References: <pvh85h02lk5@news1.newsguy.com> <87efab6u63.fsf@gmail.com>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Dec.21--9.30am.Seattle.2018>
Subject: Longest Common Subsequence Example.
Date: Fri, 21 Dec 2018 17:30:28 +0000
From: Jeff-Relf.Me @.
References: <pvh85h02lk5@news1.newsguy.com> <87efab6u63.fsf@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.c++.(381507).mbox.7z!not-for-mail
Content-Type: Text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Newsgroups: comp.os.linux.advocacy,sci.physics,news.software.readers,comp.lang.c++
User-Agent: Jeff-Relf.Me/X.HTM
Lines: 16
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Fri, 21 Dec 2018 17:30:28 UTC
Organization: blocknews - www.blocknews.net
X-Received-Bytes: 1307
X-Received-Body-CRC: 2756578618