2 comments

[ 7.4 ms ] story [ 73.7 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.