mention potential performance impact

This commit is contained in:
Niko Matsakis 2022-10-11 11:38:16 -04:00
parent 3ae7405ef7
commit 5ee134804d
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ This RFC does not specify the validity invariant, instead delegating that decisi
It commits us to supporting upcasting, which can make "multi-trait" dyn more complex (see the Future Possibilities section).
Vtables become larger to accommodate upcasting, which could have an affect on performance.
# Rationale and alternatives
[rationale-and-alternatives]: #rationale-and-alternatives