~/talk

Introduction to C++ Containers - Know Your Data Structures

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [databases]
slides:none on file

Overview of the Standard Library containers with concrete examples and costs: sequence, associative, unordered, and adapters are shown with C++ code, documented time complexities, and common implementations (vectors as contiguous arrays with capacity doubling, lists as doubly linked lists, hash tables for unordered_map). Demonstrations include iterator invalidation cases, use of reserve()/shrink_to_fit to avoid reallocations, and notes on thread-safety tradeoffs. New in C++23 is flat_map with contiguous storage for better locality. Code samples and slides are available from the uploader.

AI-written summary · about

  1. 0:00Welcome
  2. 2:06Data and data structures
  3. 3:52Arrays and linked structures
  4. 10:15Standard Template Library and containers introduction
  5. 16:12Sequence containers
  6. 21:08Vector performance
  7. 29:55Deque and linked lists
  8. 35:55Container pitfalls
  9. 39:27Container adapters
  10. 45:04Associative containers
  11. 54:20Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.