specter

nathanmarz 2024-02-14T01:29:19.279239Z

the way you're doing it is fine

nathanmarz 2024-02-14T01:29:27.676709Z

I would use volatile! for that

nathanmarz 2024-02-14T01:29:47.611619Z

the mutable cell stuff is there because it predates when clojure introduced volatile!

👍 1
nathanmarz 2024-02-14T01:30:25.189329Z

you could improve your implementation with inline caching by mimicking how specter does it for other operations