Creation order enumeration and other changes#159
Draft
parched wants to merge 4 commits into
Draft
Conversation
Enumerate child subtrees before separator records so B-tree v2 records are yielded in sorted order for internal nodes. This keeps dense name-index iteration correct today and provides the traversal behavior needed for creation-order index iteration.
Return native group children in link creation order when the file tracks that order, covering both compact and dense group storage. Add efficient child counting without dereferencing children and cover the behavior with dense and compact group tests.
Stream dense link and attribute B-tree records instead of materializing the full record set before reading heap messages. Avoid per-node record list allocations during B-tree traversal, and cache the huge-object B-tree header so huge fractal heap objects can be found with targeted lookup instead of full enumeration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @Apollo3zehn in our tool we need to iterate lazily through children in creation order. I tasked AI with implementing this and the results (with some tidy up by myself) are in this PR.
It appears to be working well for us, but I haven't thoroughly tested it yet.
Let me know if you're interested in some, or all, of these commits and I'll tidy it up a bit more (if needed).