3 ms·
I'd also imagine that a allocator that returned a Result type would be quite ergonomic. Though you'd have to re-implement any datastructures that you wanted to
by gpm 9y ago
I'd also imagine that a allocator that returned a Result type would be quite ergonomic. Though you'd have to re-implement any datastructures that you wanted to use.
- FreeFull 9y agoYou would probably want to be really careful about avoiding any sort of allocation in the error case, though.