Rust Links: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Claas (Diskussion | Beiträge) (Iterators beyond basics) |
Claas (Diskussion | Beiträge) (Performance improvements) |
||
Zeile 2: | Zeile 2: | ||
* [http://codrspace.com/buntine/aha-understanding-lifetimes-in-rust Lifetimes] | * [http://codrspace.com/buntine/aha-understanding-lifetimes-in-rust Lifetimes] | ||
== Borrow Checker == | == Borrow Checker / References == | ||
* [https://hermanradtke.com/2015/05/29/creating-a-rust-function-that-returns-string-or-str.html/ Function returning either String or &str using Cow] | * [https://hermanradtke.com/2015/05/29/creating-a-rust-function-that-returns-string-or-str.html/ Function returning either String or &str using Cow] | ||
* [https://ferrous-systems.com/blog/rustls-borrow-checker-p1/ Performance improvements by reducing heap allocations etc] ([https://ferrous-systems.com/blog/rustls-borrow-checker-p2/ 2], [https://ferrous-systems.com/blog/rustls-borrow-checker-p3/ 3]) | |||
== Iterators == | == Iterators == | ||
* [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-i-building-blocks/ Iterators beyond basics] ([https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-ii-key-aspects/ 2], [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-iii-tips-and-tricks/ 3]) | * [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-i-building-blocks/ Iterators beyond basics] ([https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-ii-key-aspects/ 2], [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-iii-tips-and-tricks/ 3]) |
Version vom 30. März 2024, 22:17 Uhr
Lifetimes
Borrow Checker / References
- Function returning either String or &str using Cow
- Performance improvements by reducing heap allocations etc (2, 3)