上QQ阅读APP看书,第一时间看更新
Storing Efficiently
With the foundation of the previous chapters in place, we can now move on to more architectural aspects of algorithms and data structures. Rust—with its ownership model—calls for considering lifetimes, memory placement, and mutability in their algorithmic design. In this chapter, you can look forward to learning about the following topics:
- Trade-offs considering speed and readability
- Accessing heap and stack variables
- How immutability influences design