3 ms·
Rust's list only supports a default allocation mechanism. For an actual comparison, you'll want to show us a Rust implementation which is parametrized over allo
by einpoklum 4y ago
Rust's list only supports a default allocation mechanism. For an actual comparison, you'll want to show us a Rust implementation which is parametrized over allocators.
Having said that - yes, it's not pretty. About the same length though.
- mastax 4y agoAdding allocator support does add a bit more noise: https://github.com/rust-lang/rust/pull/103093/files#diff-8bd1153cc6d89a3ef4bcd62045ed29b00fc7ddc4a0937d276b9e17a2ffc2772d https://github.com/rust-lang/rust/pull/103093/files#diff-8bd...