Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dietrologia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
dietrologia
6y ago
I wonder why the C++ version opted for an unordered_map, copied into a vector and then sorted. I'd be curious to see if using an std::map would work better.
2.
▲
by
dietrologia
6y ago
I wonder why the C++ version didn't use a map, instead of doing unordered_map and then copying into a vector.