Make each DispatchNode smaller by allocating more
This commit is contained in:
parent
f312c58b30
commit
385c830bef
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ pub(crate) struct DispatchTree {
|
|||
|
||||
#[derive(Default)]
|
||||
pub(crate) struct DispatchNode {
|
||||
pub key_listeners: SmallVec<[KeyListener; 2]>,
|
||||
pub action_listeners: SmallVec<[DispatchActionListener; 16]>,
|
||||
pub key_listeners: Vec<KeyListener>,
|
||||
pub action_listeners: Vec<DispatchActionListener>,
|
||||
pub context: Option<KeyContext>,
|
||||
parent: Option<DispatchNodeId>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue