In Java, according to the usage of a collection, we do not use the same implementation (ie ArrayList vs LinkedList).
Coming from a Java background, can someone tell me what should I know about Scala collections and performance considerations?
It seems the immutable version of Scala List is some kind of immutable LinkedList. I understand the concepts, following Martin Odersky courses on Coursera. In the same way i understand why it's more efficient to prepend than to append, particularly when you have an immutable list.
I would like to know all (or most) of these kind of tricky things about Scala collection performances, so that I do not find it myself the hard way. Can someone help me?
Thanks