Updating this older post:
Page moved
https://github.com/eishay/jvm-serializers/wiki
Scala is no longer specified. Group search didn’t explain why?
Old post, but the arguments go on,
Scala is faster than Java, yet ...
I think the Rex Kerr post refers to the way the Scala collection classes store their elements individually. I do not have benchmarks, but it is a little (difficult to prove and unprofitable) faster, I compared them as quickly as possible. Presumably, Scala codes know this.
See the code for the readObject / writeObject methods in the Scala ImmutableList collection here,
Code Page for Unchanged List
cycle, cycle ...
Quick view of the test code,
control code for Scala
shows the use of JavaConversions._, which in the current development stream and in view of the above could give / give Scala a slight advantage.
Rob crowther
source share