go-json/internal/encoder/vm/hack.go

10 lines
346 B
Go
Raw Normal View History

package vm
import (
// HACK: compile order
2021-05-18 08:48:13 +03:00
// `vm`, `vm_escaped`, `vm_indent`, `vm_escaped_indent` packages uses a lot of memory to compile,
// so forcibly make dependencies and avoid compiling in concurrent.
2021-05-18 08:48:13 +03:00
// dependency order: vm => vm_escaped => vm_indent => vm_escaped_indent
_ "github.com/goccy/go-json/internal/encoder/vm_escaped"
)