From 553c5775a96f6900465baf4703238e2b861fc58c Mon Sep 17 00:00:00 2001 From: "JASON-6700K\\jandersen" Date: Mon, 13 Jul 2020 16:51:45 -0400 Subject: [PATCH] more notes for me --- source/lzb.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/lzb.cpp b/source/lzb.cpp index 67cf47d..5ca0566 100644 --- a/source/lzb.cpp +++ b/source/lzb.cpp @@ -41,8 +41,17 @@ int LZB_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize) unsigned char byte_data = pSource[ processedBytes++ ]; candidate_data.push_back(byte_data); + // Basic Flow Idea Here // If there's a match, then add to the candidate data, and see if // there's a bigger match (use previous result to speed up search) + // else + // if there's a previous match, and it's large enough, emit that + // else emit what we have as a literal + + + + + // (KMP is probably the last planned optmization here)