摘要:
# 22.STL中hash table扩容发生什么? 在 C++ STL 中,`std::unordered_map` 和 `std::unordered_set` 是两个使用哈希表 (hash table) 作为其底层实现的容器。 当哈希表的元素数量增长到某个阈值时,就需要进行扩容。这个阈值通常是 阅读全文
posted @ 2023-08-03 07:20
CodeMagicianT
阅读(784)
评论(0)
推荐(0)
摘要:
# 21.STL中的allocator、deallocator 阅读全文
posted @ 2023-08-03 07:20
CodeMagicianT
阅读(29)
评论(0)
推荐(0)

浙公网安备 33010602011771号