MultiMap vs MultiValue Map

后端 未结 4 1548
悲哀的现实
悲哀的现实 2021-01-17 21:40

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 H

4条回答
  •  [愿得一人]
    2021-01-17 22:17

    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.

提交回复
热议问题