Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ComputerGuru
· 6y ago · 0 comments
Yes, and what I showed you is a set with a set interface, internally implemented as an always-sorted list.
Comments
[–]
Ericson2314
6y ago
OK sorry, Yes creating a map/set using the small-size optimization is internally doing a sort.