jdockerty / jsonnet-playground

Playground for Jsonnet, inspired by Go/Rust projects of similar names.
https://jsonnet.jdocklabs.co.uk
MIT License
2 stars 0 forks source link

refactor: use builtin map for in-memory storage #16

Closed jdockerty closed 6 months ago

jdockerty commented 6 months ago

The HashiCorp LRU cache implementation is not necessary here. The cache will be cleared on every deployment anyway, it is not likely to be long-running enough to need the expiration on various keys.

This means that this can be simplified to use the built-in map implementation for Go and no longer require an extra dependency.