go/src/compress
aimuz b107d95b9a compress/bzip2: simplify Huffman tree construction
This change simplifies the construction of the Huffman tree in the
bzip2 package by replacing custom sort logic with the more concise and
idiomatic use of "slices" and "cmp" packages.

Change-Id: I2a8aef146b54b9433038b133d2cc8856ba077c72
GitHub-Last-Rev: c031bb5663
GitHub-Pull-Request: golang/go#66817
Reviewed-on: https://go-review.googlesource.com/c/go/+/578438
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-04-15 17:44:37 +00:00
..
bzip2 compress/bzip2: simplify Huffman tree construction 2024-04-15 17:44:37 +00:00
flate compress: some minor corrections or adjustments for godoc link 2023-10-13 23:20:03 +00:00
gzip crypto/internal/mlkem768: new package 2024-04-10 16:37:53 +00:00
lzw compress/bzip2,lzw: use built-in clear to simplify code 2024-03-18 16:57:58 +00:00
testdata
zlib compress: some minor corrections or adjustments for godoc link 2023-10-13 23:20:03 +00:00