From 8aa12d3cb043859229810947da6c52e600d34b55 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 26 Jan 2023 13:59:35 -0700 Subject: struct.go: Cache structIndexes This should help save some CPU time and avoid some memory churn. --- go.mod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 74386a3..452d2ff 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,10 @@ module git.lukeshu.com/go/lowmemjson go 1.18 -require github.com/stretchr/testify v1.8.0 +require ( + git.lukeshu.com/go/typedsync v0.0.0-20230126205501-1e8afc0ceb1e + github.com/stretchr/testify v1.8.0 +) require ( github.com/davecgh/go-spew v1.1.1 // indirect -- cgit v1.2.3-54-g00ecf