[skip-ci][ntuple] add SoA design document - #23202
Draft
jblomer wants to merge 5 commits into
Draft
Conversation
jblomer
marked this pull request as draft
August 31, 2026 13:16
jblomer
force-pushed
the
ntuple-soa-doc
branch
from
August 31, 2026 21:35
a9c8734 to
8333a10
Compare
Test Results 23 files 23 suites 3d 12h 29m 3s ⏱️ For more details on these failures, see this check. Results for commit 8333a10. |
hahnjo
reviewed
Sep 2, 2026
silverweed
reviewed
Sep 3, 2026
jblomer
force-pushed
the
ntuple-soa-doc
branch
2 times, most recently
from
September 3, 2026 09:39
2fc5b05 to
95d209d
Compare
vepadulano
reviewed
Sep 3, 2026
Comment on lines
+94
to
+97
| For the SoA vectors, the `ROOT::RVec` type is used because it can own or adopt memory. | ||
| As a result, optimized code can prepare a memory region and initialize an `RVec` with that region and the right length | ||
| in order to directly read into adopted memory. | ||
| SoA fields can also be read without any additional logic, in which case the `RVec`s own their memory. |
Member
There was a problem hiding this comment.
While reading through the document I thought it would have been helpful to also have small snippets exemplifying the reading and writing of a SoA type, perhaps including also the case with the preparation of the memory region. Is it missing or out of scope for this document?
Contributor
Author
There was a problem hiding this comment.
I think this is rather for the tutorial (which exists) than for this document.
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.
Part of #19230
This should be merged once the first complete version of the code is ready. Submitted as a preview PR.