specter 2024-02-14

the way you're doing it is fine

I would use volatile! for that

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

👍 1

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