2 ms·
For the value of "small-N" I am using 8 usually. Here is why: https://terrainformatica.com/2017/10/15/when-linear-search-is-faster-than-stdmapfind-and-stdunord
by c-smile 6y ago
For the value of "small-N" I am using 8 usually.
Here is why:
https://terrainformatica.com/2017/10/15/when-linear-search-is-faster-than-stdmapfind-and-stdunordered_mapfind/ https://terrainformatica.com/2017/10/15/when-linear-search-i...
And in Sciter objects (key/value maps) are using adaptive approach - if number of properties is less than 8 then it is linked list, otherwise - hash table.