Skip to content

Commit 22e66b4

Browse files
committed
mention potential performance impact
1 parent 721a948 commit 22e66b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text/0000-dyn-upcasting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ This RFC does not specify the validity invariant, instead delegating that decisi
166166

167167
It commits us to supporting upcasting, which can make "multi-trait" dyn more complex (see the Future Possibilities section).
168168

169+
Vtables become larger to accommodate upcasting, which could have an affect on performance.
170+
169171
# Rationale and alternatives
170172
[rationale-and-alternatives]: #rationale-and-alternatives
171173

0 commit comments

Comments
 (0)