12 ms·
There's a better alternative to adding ^:const by hand, namely compiling production artifacts with direct linking: https://clojure.org/reference/compilation#di
by vemv 6y ago
There's a better alternative to adding ^:const by hand, namely compiling production artifacts with direct linking:
https://clojure.org/reference/compilation#directlinking https://clojure.org/reference/compilation#directlinking
This assumes that no code does some kind of var redefing, which is a pretty safe assumption to do.