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
How to use a Node that was retrieved by a TreeCursor once the cursor has been closed?
According to the documentation, the native memory segment backing the Node is cleared once the cursor is deleted. If the tree of the node still exists it is in theory still usable. However, not with the current implementation.
Would it be possible to reassign the Node instance to another arena such that it can still be used afterwards? Either by binding it to Arena.ofAuto() or by adding a method that allows copying the Node to another memory segment management by a user supplied arena?
The text was updated successfully, but these errors were encountered:
How to use a
Node
that was retrieved by aTreeCursor
once the cursor has been closed?According to the documentation, the native memory segment backing the
Node
is cleared once the cursor is deleted. If the tree of the node still exists it is in theory still usable. However, not with the current implementation.Would it be possible to reassign the Node instance to another arena such that it can still be used afterwards? Either by binding it to
Arena.ofAuto()
or by adding a method that allows copying theNode
to another memory segment management by a user supplied arena?The text was updated successfully, but these errors were encountered: