4 ms·
> How often does benchmark code have a function that takes two pointers that could potentially alias each other? If it's as rare as I think it is, it might not
by volta87 6y ago
> How often does benchmark code have a function that takes two pointers that could potentially alias each other? If it's as rare as I think it is, it might not have that much of an impact on Rust's position in the benchmarks game.
Most C++ STL algorithms take iterators, that in many cases are just pointers in benchmarks because these often only deal with arrays. Hell most C standard APIs (e.g. memcpy) take multiple pointers.