Reduce the stack size of Interactivity
at the cost of more allocations
This commit is contained in:
parent
e7094cc98d
commit
f312c58b30
3 changed files with 59 additions and 53 deletions
|
@ -4,7 +4,7 @@ use smallvec::SmallVec;
|
|||
use std::fmt;
|
||||
|
||||
#[derive(Clone, Default, Eq, PartialEq, Hash)]
|
||||
pub struct KeyContext(SmallVec<[ContextEntry; 8]>);
|
||||
pub struct KeyContext(SmallVec<[ContextEntry; 1]>);
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
|
||||
struct ContextEntry {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue