Skip to content

Instantly share code, notes, and snippets.

@noisesmith
Created December 24, 2015 23:34
Show Gist options
  • Save noisesmith/73a632ff0bf2774c2958 to your computer and use it in GitHub Desktop.
Save noisesmith/73a632ff0bf2774c2958 to your computer and use it in GitHub Desktop.
$ rlwrap java -cp bench.jar clojure.main
Clojure 1.7.0
user=> (deftype T [] Object (finalize [this] (println "gone")))
user.T
user=> (let [t (T.)] (type t))
user.T
user=> (reduce +' (range 999999999))
gone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment