I rewrote a little @scala_lang in @rustlang and the Scala version noticeably outperformed it in terms of speed. I’m quite surprised. There’s room for optimisation, but still... Things are not always as they appear to be.
-
-
Yes, I used --release, and I profiled. Looks as though the slowness is around the CSV parsing - in particular, the collect method:https://gist.github.com/huntc/d3042b4171ac5f6e3da3b634aee26abc …
-
makes sense, that’s a bunch of allocations! The JVM is very good at lots of allocations. - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.