Re:Performance Showdown: Rust vs Javascript (2020)
by Measter on Saturday February 13, 2021 @03:08AM
(#26122176)
Popping doesn't touch the allocator, as it doesn't resize the backing storage. The only thing being copied is the String struct (24 bytes), which while unnecessarily large here, wouldn't be the bottleneck.
[ Parent
| on HN ]
There are no comments on this comment yet.