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
I'm looking for a way to bubble up cache changes in node to its ancestors all the way to the root in RBTree.
I see there's .parent() method in rbtree::AtomicLinkOps but I'm not sure how to access it from Cursor.
The text was updated successfully, but these errors were encountered:
The parent node isn't really exposed in the RBTree interface because the RBTree API exposes the data structure as a linear sequence of ordered values. The internal tree structure is hidden.
Hi, @Amanieu. Thanks for the response.
I'm trying to re-implement VSCode's buffer implementation in Rust. It requires some low-level tree manipulation logic it seems.
I'm looking for a way to bubble up cache changes in node to its ancestors all the way to the root in
RBTree
.I see there's
.parent()
method inrbtree::AtomicLinkOps
but I'm not sure how to access it fromCursor
.The text was updated successfully, but these errors were encountered: