wip: considering making vdom passed verywehre
This commit is contained in:
1 parent
d4d7114beb
commit
ac3a7b1fbc
6 files changed
+141
-65
No files matched your search
@@ -47,11 +47,11 @@ pub struct DiffStack<'bump> {
|
||||
}
|
||||
|
||||
impl<'bump> DiffStack<'bump> {
|
||||
pub fn new(cur_scope: ScopeId) -> Self {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
instructions: Vec::with_capacity(1000),
|
||||
nodes_created_stack: smallvec![],
|
||||
scope_stack: smallvec![cur_scope],
|
||||
scope_stack: smallvec![],
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user