| ▲ | nixpulvis 3 days ago | |||||||||||||||||||||||||
In practice it just means a lot of sentinel values and unuseful potential accesses. | ||||||||||||||||||||||||||
| ▲ | jandrewrogers 3 days ago | parent [-] | |||||||||||||||||||||||||
Not really. In the vast majority of cases this is all elided. There is no cost, either in lines of code or runtime. When you are decoupling memory lifetimes from object lifetimes it is pretty explicit. It isn't like this sneaks into your code on its own. You have to manage the implications of it yourself. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||