I experienced several approaches to make map updates as fast as possible:
tm
and the original map m
, the key being accessed from m
and the update being written to tm
(benchmarking having shown that access is much slower on transients)To my surprise, benchmarking showed that approach 3 was faster or no slower for various map sizes and key distributions.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close