6 ms·
Nothing about how Rust handles deallocation is magical in any way. It's also definitely a zero-cost abstraction as I can see because the manual solution that's
by DasIch 6y ago
Nothing about how Rust handles deallocation is magical in any way.
It's also definitely a zero-cost abstraction as I can see because the manual solution that's equivalent to get_len1() would be to essentially call free() on things. That would ultimately suffer from the same problem.
- cs702 6y agoYeah, you're right. In hindsight this was a poorly thought-out and poorly written post on my part.