官术网_书友最值得收藏!

Unordered maps

An unordered map works in a manner similar to a map, except that the internal behavior of these containers differs. A map makes use of red-black trees while unordered map makes use of hash tables. The time complexity of map operations is O( log N) while that of unordered map operations is O(1); hence, an unordered map tends to be faster than a map.

The values stored in an unordered map are not organized in any particular fashion, unlike in a map where values are sorted by keys.

主站蜘蛛池模板: 同心县| 屏东县| 襄樊市| 正阳县| 平舆县| 淮南市| 友谊县| 高尔夫| 宁南县| 莱西市| 密云县| 黄梅县| 乌兰浩特市| 新巴尔虎左旗| 乌苏市| 年辖:市辖区| 通海县| 辉南县| 湛江市| 安新县| 永丰县| 城步| 嘉兴市| 民丰县| 金阳县| 介休市| 连山| 渭源县| 荣昌县| 商都县| 浦东新区| 金川县| 若羌县| 巴楚县| 恩施市| 南靖县| 紫金县| 溆浦县| 商洛市| 资中县| 孟津县|