]> Cypherpunks repositories - gostls13.git/commit
compress/flate: use built-in clear to simplify the code
authorapocelipes <seve3r@outlook.com>
Wed, 4 Sep 2024 12:02:38 +0000 (12:02 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 6 Sep 2024 13:15:29 +0000 (13:15 +0000)
commit12dcbed45190fecf56ca46d82cd7439cf6015b67
tree858f82f99898ecddfa4e6f7792aa17712e47ca48
parent123594d3863b0a4b9094a569957d1bd94ebe7512
compress/flate: use built-in clear to simplify the code

The new bootstrap toolchain allows us to use the built-in clear.

Updates #64751

Change-Id: Ic363e1059f34c46eaa4267c0b40a4ed8d5b3961b
GitHub-Last-Rev: 46ca735bfcd99a9874d7904a705970ed0cadf61c
GitHub-Pull-Request: golang/go#69253
Reviewed-on: https://go-review.googlesource.com/c/go/+/610516
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/compress/flate/deflate.go
src/compress/flate/deflatefast.go
src/compress/flate/huffman_bit_writer.go