3 ms·
I assume there might be performance issues using a vector that’s gonna reallocate when capacity is full? That being said vectors seem like a gift in rust. I f
by mr_00ff00 4y ago
I assume there might be performance issues using a vector that’s gonna reallocate when capacity is full?
That being said vectors seem like a gift in rust. I feel like it’s the easiest way to get around some ownership rules when you need to work with many pointers. You can just use indices.
- cozzyd 4y agoYou can just allocate a large buffer and serialize/deserialize everything at various indices in that buffer