Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScratchBuffers = scratchBuffers{&sync.Pool{New: func() interface{} { x := make([]byte, 0, 1024); return bytes.NewBuffer(x) }}}
View Source
var ScratchJS = scratchJS{&sync.Pool{ New: func() interface{} { js := jsonEncoder{buf: &strings.Builder{}} js.enc = fastJSONNewEncoder(js.buf) return &js }, }}
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.