From e442fa366fc47e54401b5ac4aa1e17f88570ff26 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Thu, 25 Jun 2020 18:14:12 +0200 Subject: [PATCH] small comments updates --- c64/,,config_custom.s | 2 +- tools/generate_strings.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/c64/,,config_custom.s b/c64/,,config_custom.s index 54c8e7ae..e37dd9c0 100644 --- a/c64/,,config_custom.s +++ b/c64/,,config_custom.s @@ -145,4 +145,4 @@ // Other -// #define CONFIG_COMPRESSION_LVL_2 // work on this option stopped - it would not give any improvement +// #define CONFIG_COMPRESSION_LVL_2 // work on this option stopped - for now it has no chance to improve anything diff --git a/tools/generate_strings.cc b/tools/generate_strings.cc index 726b3594..2fb08694 100644 --- a/tools/generate_strings.cc +++ b/tools/generate_strings.cc @@ -954,6 +954,8 @@ bool DictEncoder::optimizeJoin() void DictEncoder::optimizeOrder() { + // XXX - it would be better to do this after the dictionary is compressed + // Try to optimize order of strings in the dictionary for fastest display // - put the shorter substrings first // - for strings with roughly the same length put more frequently used first