3 ms·
This is a benchmark comparing different data structures more than different programming languages. Of course the Rust program has fewer cache misses; this is be
by stochastic_monk 8y ago
This is a benchmark comparing different data structures more than different programming languages. Of course the Rust program has fewer cache misses; this is because it’s a b-tree, not an AVL tree.
- kiriakasis 8y agoIt is a benchmark comparing what type of data structure are easier to use in the two languages. Of course it is entirely subjective (the author argues for how that is due to a static vs dynamic ownership model) and there is a single data point, which is the author rewriting the code. (two is you consider when he/she swaps one of the data structure)
- saagarjha 8y ago> It is a benchmark comparing what type of data structure are easier to use in the two languages. Then it's not a performance benchmark, it's a style and usability benchmark.