Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose contiguousness from TTreeReaderArray and use it #17781

Merged

Conversation

vepadulano
Copy link
Member

TTreeReaderArray now exposes information on whether the underlying array type uses contiguous memory. This info is in turn used by RDataFrame to optimise reading collections as RVec.

Fixes https://its.cern.ch/jira/browse/ROOT-10823

Copy link

github-actions bot commented Feb 20, 2025

Test Results

    18 files      18 suites   4d 7h 36m 47s ⏱️
 2 718 tests  2 718 ✅ 0 💤 0 ❌
47 241 runs  47 241 ✅ 0 💤 0 ❌

Results for commit 025c24d.

♻️ This comment has been updated with latest results.

TTreeReaderArray now exposes information on whether the underlying array type
uses contiguous memory. This info is in turn used by RDataFrame to optimise
reading collections as RVec.

Fixes https://its.cern.ch/jira/browse/ROOT-10823
@vepadulano vepadulano force-pushed the ttreereaderarray-iscontiguous branch from 773d8f3 to 025c24d Compare February 20, 2025 19:17
Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@vepadulano vepadulano merged commit 7fdd804 into root-project:master Feb 21, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants