wip: ....sigh..... so the diffing algorithm is robust

but it's still not finished.

We need to re-enable the fancier keyed diffing versions some point (soon!).
This commit is contained in:
Jonathan Kelley committed 2021-07-12 03:58:46 -04:00
1 parent ff0a3d1c83
commit 68ed1c04e7
10 files changed
+168 -102

No files matched your search

+2 -2
View File
@@ -62,7 +62,7 @@ impl RealDomNode {
pub fn new(id: u64) -> Self {
Self(id)
}
pub fn empty() -> Self {
pub const fn empty() -> Self {
Self(u64::MIN)
}
}
@@ -86,7 +86,7 @@ impl DebugDom {
}
}
impl<'a> RealDom<'a> for DebugDom {
fn push_root(&mut self, root: RealDomNode) {}
fn push(&mut self, root: RealDomNode) {}
fn pop(&mut self) {}
fn append_children(&mut self, many: u32) {}