This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Any tips on making default
lein repl consume less memory? It's 2 processes, 800mb each. Resulting uberjar process only needs 200mb to perform the same actions.
(defmacro if-> [e sym & forms] (if (empty? forms) e (do (assert (zero? (rem (count forms) 3)) (format "Got %d forms, expected a multiple of 3!" (count forms))) (let [this-if (take 3 forms) tail (drop 3 forms)] `(if-> (let [~sym ~e] (if [email protected])) ~sym [email protected])))))
@arrdem: if repositories is a vector of pairs, instead of a map, it works as expected