2 comments

[ 1.1 ms ] story [ 11.4 ms ] thread
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.„

Clojure’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.