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
Before 02860f2, there was an enum for abstracting over split and packed virtqueues:
pubenumVirtq{Packed(PackedVq),Split(SplitVq),}
Currently, we are using a trait via Rc<dyn Virtq> instead of Rc<Virtq>.
We need to consider automating the previous enum-based static dispatch via enum_dispatch for performance.
This would be a nice fit because restricting the set of implementors is no problem for us.
This might not have a too much of an impact, depending on how hot these dynamic dispatches are right now.
The text was updated successfully, but these errors were encountered:
Before
02860f2
, there was an enum for abstracting over split and packed virtqueues:Currently, we are using a trait via
Rc<dyn Virtq>
instead ofRc<Virtq>
.We need to consider automating the previous enum-based static dispatch via
enum_dispatch
for performance.This would be a nice fit because restricting the set of implementors is no problem for us.
This might not have a too much of an impact, depending on how hot these dynamic dispatches are right now.
The text was updated successfully, but these errors were encountered: