Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dfkf
11y ago
0 comments
Save
Share
In the worst case scenario the time complexity of a hash table equals that of its bucket, which doesn't have to be a list. So the only advantage of the map over the unordered_map seems to be the ease of use, it only needs a comparer.
0 comments
1 comments · 1 top-level
top
newest
oldest
nly
11y ago
unordered_map pretty much has to have linked buckets due to its interface and complexity requirements.
j
/
k
navigate · click thread line to collapse