- Hands-On Data Structures and Algorithms with Rust
- Claus Matzinger
- 71字
- 2021-07-02 14:11:49
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