Considerations
When designing applications, we ought to determine what is the most important thing that is valued by our users. Similarly, when working on data analysis or data science projects, we should think about what we care about the most. A customer-first approach is essential in any decision-making process.
Let's assume that our priority is to achieve better performance. Then, the next question is which part of the system requires optimization? If the part is slowed down due to the use of an array of structs, how much do we gain in speed when we employ the struct of arrays pattern? Is the performance gain noticeable—is it measured in milliseconds, minutes, hours, or days?
Further, we need to consider system constraints. We like to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access