News for hackers. Stuff that matters.
Re:JSON for Modern C++ version 3.10.0 by batty_alex on Thursday August 19, 2021 @07:44AM (#28232653)
I think you might have it backwards. std::map is the one you only want to reach for in cases where you need a sorted dictionary (it sorts after insert)

std::unordered_map is typically the go-to hash map on any given C++ day. You’re probably fine with std::map outside of large n

EDIT: being pedantic

There are no comments on this comment yet.