Use a LRUCache rather than an Unbounded one

This commit is contained in:
Kovid Goyal
2022-09-21 23:02:25 +05:30
parent 3078b9074a
commit a0bf6177e2
4 changed files with 66 additions and 45 deletions

3
go.mod
View File

@@ -4,6 +4,7 @@ go 1.19
require (
github.com/ALTree/bigfloat v0.0.0-20220102081255-38c8b72a9924
github.com/gammazero/deque v0.2.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/google/uuid v1.3.0
github.com/jamesruan/go-rfc1924 v0.0.0-20170108144916-2767ca7c638f
@@ -11,7 +12,7 @@ require (
github.com/spf13/cobra v1.5.0
github.com/spf13/pflag v1.0.5
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0
golang.org/x/exp v0.0.0-20220921023135-46d9e7742f1e
golang.org/x/exp v0.0.0-20220921164117-439092de6870
golang.org/x/image v0.0.0-20220902085622-e7cb96979f69
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8
)