Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Unified Diff: common/isolated/algo.go

Issue 2422443002: isolate client: get back faster compression library. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/isolated/algo.go
diff --git a/common/isolated/algo.go b/common/isolated/algo.go
index a2bf2f3ee93bde91bf0a76f3face497f05ffe281..894bdf0e537b27dca5ff2c70e937855380520b65 100644
--- a/common/isolated/algo.go
+++ b/common/isolated/algo.go
@@ -7,13 +7,14 @@
package isolated
import (
- "compress/zlib"
"crypto/sha1"
"hash"
"io"
"log"
- // https://crbug.com/552697
- //"github.com/klauspost/compress/zlib"
+
+ // TODO(tandrii): this library became part of Go 1.7, So, switch back to
+ // standard library compress/zlib once we are solidly on Go > 1.7
+ "github.com/klauspost/compress/zlib"
)
var hashLength = sha1.New().Size()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698