Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 81ed621

Browse files
mholtklauspost
andauthored
Update sz.go
Co-authored-by: Klaus Post <[email protected]>
1 parent f1feabe commit 81ed621

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sz.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ type S2Level int
122122
// Compression levels for S2.
123123
// EXPERIMENTAL: May be changed or removed without a major version bump.
124124
const (
125-
S2LevelNone S2Level = 1
126-
S2LevelFast S2Level = 2
127-
S2LevelBetter S2Level = 3
128-
S2LevelBest S2Level = 4
125+
S2LevelNone S2Level = 0
126+
S2LevelFast S2Level = 1
127+
S2LevelBetter S2Level = 2
128+
S2LevelBest S2Level = 3
129129
)
130130

131131
// https://github.com/google/snappy/blob/master/framing_format.txt - contains "sNaPpY"

0 commit comments

Comments
 (0)