Moving Faster - Everyday Efficiency in Modern C++

Moving Faster - Everyday Efficiency in Modern C++

CppNow via YouTube Direct link

Set/Map vs. Vector

29 of 30

29 of 30

Set/Map vs. Vector

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Moving Faster - Everyday Efficiency in Modern C++

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 A 30 Year Tale
  3. 3 What are we doing wrong?
  4. 4 When does efficiency matter?
  5. 5 Writing optimal code
  6. 6 Compiler optimizations
  7. 7 Caches • Many of us grew up with simple architectures
  8. 8 Dynamic allocation
  9. 9 Static allocation
  10. 10 Registers
  11. 11 Embedded objects
  12. 12 Sharing space
  13. 13 Pass by value
  14. 14 Pass by const reference
  15. 15 Pass by non-const reference
  16. 16 Passing vector by value
  17. 17 Passing vector by r-value reference
  18. 18 Passing vector by non-const reference
  19. 19 Return by value
  20. 20 Return rules
  21. 21 Return Examples - Bad
  22. 22 Moving a string
  23. 23 Perfect Forwarding
  24. 24 Add - A Case Study
  25. 25 Container Choice
  26. 26 Vector vs. Array vs. C-array
  27. 27 List vs. Vector
  28. 28 List vs. Deque vs. Vector
  29. 29 Set/Map vs. Vector
  30. 30 Set vs. Vector

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.