3 ms·
From the comments: „[…] the author confirms that Clojure solution uses boxed numbers. Breaking news: boxed math is 17x slower than unboxed math in a computati
by augstein 7y ago
From the comments:
„[…] the author confirms that Clojure solution uses boxed numbers.
Breaking news: boxed math is 17x slower than unboxed math in a computation-heavy task.„
- cljuser 7y agoClojure’s support for non boxed math is error prone and almost unusable. It’s support for non boxed collections is bolted on. Writing code like this in Clojure is a mess.