]> Cypherpunks repositories - gostls13.git/commit
hash/crc64: lazily initialize slice8Tables
authorCholerae Hu <choleraehyq@gmail.com>
Fri, 3 Aug 2018 06:29:37 +0000 (14:29 +0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 Aug 2018 04:50:21 +0000 (04:50 +0000)
commit2a5df067654970557f5038d238954eb9893e7f31
tree23f0e2a0db445c2d4e99aeeb4f9db708bc88dd8a
parent80fe2e6e37120e665cd523e1edf7eb1401b9b73b
hash/crc64: lazily initialize slice8Tables

Saves 36KB of memory in stdlib packages.

Updates #26775

Change-Id: I0f9d7b17d9768f6fb980d5fbba7c45920215a5fc
Reviewed-on: https://go-review.googlesource.com/127735
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/hash/crc64/crc64.go