|
|
|
|
|
by DougBTX
1658 days ago
|
|
There isn't a massive difference between type instability vs programming against interfaces in OOP languages or using a Box<dyn T> in Rust, both add an extra indirection which has a performance impact, but depending on the situation it could be a positive or negative impact. |
|
i don't care about the performance as much the correctness :)