internal static void MatchFinder_CreateVTable(CMatchFinder p, out IMatchFinder vTable) { TR("MatchFinder_CreateVTable", p.mNumHashBytes); if (!p.mBtMode) vTable = new MatchFinderHc4(); else if (p.mNumHashBytes == 2) vTable = new MatchFinderBt2(); else if (p.mNumHashBytes == 3) vTable = new MatchFinderBt3(); else vTable = new MatchFinderBt4(); }
internal static void MatchFinder_CreateVTable(CMatchFinder p, out IMatchFinder vTable) { //TR("MatchFinder_CreateVTable", p.mNumHashBytes); if (!p.mBtMode) { vTable = new MatchFinderHc4(); } else if (p.mNumHashBytes == 2) { vTable = new MatchFinderBt2(); } else if (p.mNumHashBytes == 3) { vTable = new MatchFinderBt3(); } else { vTable = new MatchFinderBt4(); } }