2 ms·
> Using a more C way he'd really only have needed a couple of pointers on the stack. This is pretty much how it's done in Rust too via slices. For example, the
by burntsushi 10y ago
> Using a more C way he'd really only have needed a couple of pointers on the stack.
This is pretty much how it's done in Rust too via slices. For example, the standard way to split a string is to create an iterator and it won't do any allocations.