Difference between Array and List in scala

Posted by Jeriho on Stack Overflow See other posts from Stack Overflow or by Jeriho
Published on 2010-04-26T11:03:24Z Indexed on 2010/04/26 11:23 UTC
Read the original article Hit count: 162

Filed under:
|
|
|

In what cases I should use Array(Buffer) and List(Buffer). Only one difference that I know is that arrays are nonvariant and lists are covariant. But what about performance and some other characteristics?

© Stack Overflow or respective owner

Related posts about scala

Related posts about collection