Hey HN, author here. I got curious about the performance cost of trait objects vs generics in Rust (and more broadly about the cost of dynamic vs static dispatch), so I created this series of benchmarks comparing the performance implications of various types of indirection in Rust.
1 comment
[ 5.3 ms ] story [ 13.8 ms ] thread