Chapter 21. Containers in Memory, Part 2: How Big Is It Really?
When you ask for memory, what do you really know about what you get—and what it will actually cost? How much memory do the standard containers use—in theory, in reality, and in the code you'll be writing this afternoon?
“I'll Take 'Operator New' for 200 Bytes, Alex”
When you ask for n bytes of memory using
malloc, do you actually use up n bytes of memory? Explain why or why not.
When you ask for n bytes of ...