Standard library / compress/zlib

compress/zlib.BestSpeed

Select a fast compression level; actual size and runtime depend on the input. This is the zlib package constant. Expected stdout: '1\n'.

Formal Syntax & Structure

go syntaxgo
const BestSpeed = flate.BestSpeed

Working Example

Example Snippetgo
package main
import (  "compress/zlib"  "fmt")
func must(e error) {  if e != nil {    panic(e)  }}
func main() { fmt.Println(zlib.BestSpeed) }
Go Reference