3 ms·
But: (defn ^:static fib ^long [^long n]) is really not sexy.
by d0m 16y ago
But: (defn ^:static fib ^long [^long n]) is really not sexy.
- ataggart 16y agoThe performance alternative was dipping into java. It's sexy enough.
- puredanger 16y agoIsn't "sexy enough" Clojure's motto?
- nickik 16y agoits better then optimicing CL. But you write you will only to that if you really need the bare metal performance. I want do that in day to day code. The ^long thing is pretty cool bettr then : <long> or something. Its nice that it is just metadata.