You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Any trait is not in release condition at all, considering that is still uses slow virtual calls that could be replaced with an associated static in the near future but stabilizing with get_type_id would mean that it could not be removed.
Normally, this isn't an issue, but since Any is almost exclusively used through trait objects this blocks possible optimizations to layout that could allow Box<Any> to be represented as *mut (), TypeId instead of containing a full vtable.
The text was updated successfully, but these errors were encountered:
The Any trait is not in release condition at all, considering that is still uses slow virtual calls that could be replaced with an associated static in the near future but stabilizing with
get_type_id
would mean that it could not be removed.Normally, this isn't an issue, but since Any is almost exclusively used through trait objects this blocks possible optimizations to layout that could allow
Box<Any>
to be represented as*mut (), TypeId
instead of containing a full vtable.The text was updated successfully, but these errors were encountered: