Guest User

Clojure loop/recur memory leak

a guest
May 13th, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn test-gc [size n]
  2.   (loop [[f & r] (take n (repeatedly #(byte-array size)))]
  3.     (when f (recur r))))
Advertisement
Add Comment
Please, Sign In to add comment