ProgrammingLang/c++

[C++개발자되기] 32. STL Container 실무

jinkwon.kim 2022. 12. 28. 08:19
728x90
반응형

개요

container의관련된 모든것을 실무에 필요한 순서대로  알아보겠습니다.

Container의 종류 

    아래 site에 잘 정리되어 있습니다. 

https://cplusplus.com/reference/stl/ 

 

https://cplusplus.com/reference/stl/

 

cplusplus.com

Container별 성능 

https://users.cs.northwestern.edu/~riesbeck/programming/c++/stl-summary.html

 

EECS 311: STL Containers

This is a brief summary of the containers in the Standard Template Library. It deliberately sacrifices completeness for simplicity. Information is also available on the iterators and algorithms. In the C++ STL, a stack is a container adaptor. That means th

users.cs.northwestern.edu

https://alyssaq.github.io/stl-complexities/

 

C++ STL Complexities

splice(iter, list &newLst) splice(iter, list &, inIter) splice(it, list&, inItA, inItB) O(1) O(1) O(ne)

alyssaq.github.io

Container별 benchmark 테스트 

https://baptiste-wicht.com/posts/2017/05/cpp-containers-benchmark-vector-list-deque-plf-colony.html

 

C++ Containers Benchmark: vector/list/deque and plf::colony

Already more than three years ago, I've written a benchmark of some of the STL containers, namely the vector, the list and the deque. Since this article was very popular, I decided to improve the benc

baptiste-wicht.com

Container별 최적화 방법

https://blog.quasar.ai/using-c-containers-efficiently

 

Using C++ containers efficiently

Hello, dear reader! I think you have many assumptions about the performance and usage of data structures in C++. This blog post is me, destroying your world.

blog.quasar.ai

 

728x90
반응형