2 ms·
I suspect he doesn't want to pay the performance penalty on all containers, just for a particular container.
by mehrdadn 9y ago
I suspect he doesn't want to pay the performance penalty on all containers, just for a particular container.
- sitkack 9y agoAs noted elsewhere in this thread, one can implement a Drop trait the clears memory on deallocation. https://github.com/cesarb/clear_on_drop https://github.com/cesarb/clear_on_drop