3 ms·
If you're running something like this and it isn't performance sensitive, you don't really need to deal with lifetimes at all. Lifetimes mostly come into play i
by bschwindHN 2y ago
If you're running something like this and it isn't performance sensitive, you don't really need to deal with lifetimes at all. Lifetimes mostly come into play if you want to work with zero-copy parsing, or structs that borrow some things and act like a sub-view into the data you're working with.
I'm sure there are plenty of other use cases for lifetimes, but they don't come up very often when writing standard "application" code.