From 2b95402b1423dcf95e08c12f5d9be90646761785 Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Wed, 8 Sep 2021 18:33:05 -0400 Subject: [PATCH] Detailed authorship neatos --- zefie_wtvp_minisrv/WTVLzpf.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/zefie_wtvp_minisrv/WTVLzpf.js b/zefie_wtvp_minisrv/WTVLzpf.js index 857831cc..8cf2768a 100644 --- a/zefie_wtvp_minisrv/WTVLzpf.js +++ b/zefie_wtvp_minisrv/WTVLzpf.js @@ -1,12 +1,15 @@ /** -* Pure-JS implementation of WebTV's LZPF compression -* -* This is a port of my Lzpf compression code from my ROMFS Python tool -* Originally reverse engineered from the box -* -* By: Eric MacDonald (eMac) -* Modified By: zefie -*/ + * Pure-JS implementation of WebTV's LZPF compression + * + * This compression algorithm is based on LZP by Charles Bloom and was originally written for server to client communication by Andy McFadden + * This uses a (static) Huffman dictionary that was tuned for character occurances in a typical HTML page at the time (around 1996-1997). + * + * Andy McFadden: https://fadden.com/ + * LZP: https://en.wikibooks.org/wiki/Data_Compression/Dictionary_compression#LZP + * + * Reverse engineered and ported by: Eric MacDonald (eMac) + * Modified By: zefie +**/ class WTVLzpf { // Note: currentlty doesn't offer optimal streaming support but this is good enough to meet perf demands at the scale we're at.