Change weights on HuffmanTree generation.

This commit is contained in:
2017-07-12 23:58:17 +02:00
parent 49d16b71de
commit a43a517a28

View File

@@ -81,21 +81,21 @@ namespace VAR.UrlCompressor
{ '8', 1000},
{ '9', 1000},
// Common simbols
// Common symbols
{ ' ', 100},
{ '!', 100},
{ '"', 100},
{ '#', 50000}, // NOTE: Exagerate to minimize bitstream of this symbol '#'
{ '$', 50000}, // NOTE: Exagerate to minimize bitstream of this symbol '$'
{ '#', 20000}, // NOTE: Exagerate to minimize bitstream of this symbol '#'
{ '$', 20000}, // NOTE: Exagerate to minimize bitstream of this symbol '$'
{ '%', 100},
{ '&', 100},
{ '\'', 100},
{ '\'', 20000}, // NOTE: Exagerate to minimize bitstream of this symbol '/'
{ '(', 100},
{ '*', 100},
{ '+', 100},
{ ',', 100},
{ '-', 100},
{ '.', 100},
{ '.', 20000}, // NOTE: Exagerate to minimize bitstream of this symbol '.'
{ '/', 100},
{ ':', 100},
{ ';', 100},