Making Simple Faster
summary
Concrete changes to Clojure internals: a drop-in hamfisted defprotocol replaces callsite statics with concurrent maps, a compiler experiment emits per-var classes to cut class loading, and protocol dispatch hits are a concurrent hashmap get at about 6 ns on the presenter’s machine. Benchmarks show up to 20x worst-case speedups on heavily parallel workloads (JDK-dependent, JDK25 called out), fixes for subclassing/default-method surprises, stricter error checks, and compatibility with defrecord/reify.
AI-written summary · about
