3 ms·
Yes, and what I showed you is a set with a set interface, internally implemented as an always-sorted list.
by ComputerGuru 7y ago
Yes, and what I showed you is a set with a set interface, internally implemented as an always-sorted list.
- Ericson2314 7y agoOK sorry, Yes creating a map/set using the small-size optimization is internally doing a sort.