summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 13:59:35 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-30 22:00:25 -0700
commit8aa12d3cb043859229810947da6c52e600d34b55 (patch)
tree4b7b3a8e9adafbbb06531ef3c06fb200d42abd32 /go.mod
parent005dfe26e308b965c2f42c81d34a4b48757414a3 (diff)
struct.go: Cache structIndexes
This should help save some CPU time and avoid some memory churn.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod5
1 files changed, 4 insertions, 1 deletions
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