4 ms·
If ClojureScript had (or has) something like Clojure refs, controlled high performance mutability should be possible.
by beat 12y ago
If ClojureScript had (or has) something like Clojure refs, controlled high performance mutability should be possible.
- swannodette 12y agorefs are not the highest performance reference type due to transactional semantics. ClojureScript already has efficient mutability in the form of atoms and transients. You can actually build a transient vector faster than you can build a mutable JavaScript array in recent builds of V8. I actually demo'ed this at JSConf. Fun stuff.
- dimsuz 12y agoWhich JSConf was it? US 2014? Tried to find a video of this talk of yours, no luck so far.