---
title: "Discussion on \"(C++) Why should we be conservative about using std::set and std::map?\" | Hashnode"
description: "Discussion on \"(C++) Why should we be conservative about using std::set and std::map?\". As a C++ programmer, you often face the decision of which STL container to choose.\nIf you are developing an application where performance (both runtime and memory) is critical, you should carefully consider the use of associative containers like std:..."
url: "https://hashnode.com/posts/c-why-should-we-be-conservative-about-using-stdset-and-stdmap/68c6c6c0d87bc62111be0d53"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [(C++) Why should we be conservative about using std::set and std::map?](https://dongol-ts.hashnode.dev/c-why-should-we-be-conservative-about-using-stdset-and-stdmap?utm_source=hashnode&utm_medium=feed)

As a C++ programmer, you often face the decision of which STL container to choose. If you are developing an application where performance (both runtime and memory) is critical, you should carefully consider the use of associative containers like std:...

Sep 14, 2025 · 3 min read · dongol-ts.hashnode.dev  
Updated Dec 15, 2025  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#stl](https://hashnode.com/tag/stl)
-   [#stlinc](https://hashnode.com/tag/stlinc)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Dongol Cho](https://hashnode.com/@dongolcho)

@dongolcho · Seoul, South Korea

  
[View profile](https://hashnode.com/@dongolcho)

R&D Engineer @ Baum | C++ Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
