MultiMap vs MultiValue Map

dictionary, java, performance

Solution

You can try it but I doubt there is much difference as it does much the same thing.

IMHO The advantage is simpler/clearer code which is usually more important than performance.

Problem

At one place i have to use a map with many values mapped to a single key, so i was wondering whether there is any significant performance distinction between using HashMap of key, list and MultiMap of key , values in java.

Original source