Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

/p/moul/x/daily/huffman/

1 Package
  • /p/moul/x/daily/huffman/v0

    compresses a string with canonical Huffman codes: the classic frequency-based prefix code, in the one form that is safe to put on a chain. Two properties matter here and neither is about compression. The codes are CANONICAL.

    • Genesis