7ORGANIZING DATA
If you’ve been paying attention, you may have noticed a bit of an obsession when it comes to dealing with memory. Back in Chapter 3, you learned that the order in which memory devices such as DRAM, flash memory, and disk drives are accessed affects their speed. And in Chapter 5, you learned that performance also depends on whether or not the data that you need is present in cache memory. Keeping these characteristics of the memory system in mind when organizing your data leads to better performance. To help you do this, in this chapter we’ll examine a number of data structures, or standard ways of organizing data. Many of these ...
Get The Secret Life of Programs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.