ListMap in Scala


You probably don’t want to use a ListMap. It has an interface of a Map, but is “powered” (that’s too good a word) by a List. Thus pretty much any Map operations you call on it will take ages. Consider using a LinkedHashMap instead – it will preserve both the element order and your sanity.

That’s me trying to blog more.

← MySQL low cardinality index efficiency One year with Scala →

No thoughts on “ListMap in Scala”

Add your commentHow does this work?