Skip to content

[DO NOT MERGE][ntuple] Use std::string_view consistently in signatures #22835

Draft
silverweed wants to merge 4 commits into
root-project:masterfrom
silverweed:string_view_signatures
Draft

[DO NOT MERGE][ntuple] Use std::string_view consistently in signatures #22835
silverweed wants to merge 4 commits into
root-project:masterfrom
silverweed:string_view_signatures

Conversation

@silverweed

@silverweed silverweed commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Experiment: change all viable const std::string & function parameters in the RNTuple library with std::string_view. Also contextually change a few core/io function signatures and see if anything breaks.

Rationale: consistent use of string_view is more optimal than const char*/const string& due to less useless copies / string size checks / type conversions.

@silverweed
silverweed requested review from enirolf and hahnjo July 16, 2026 13:28
@silverweed silverweed self-assigned this Jul 16, 2026
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 19h 3m 6s ⏱️
 3 873 tests  3 821 ✅ 0 💤 52 ❌
79 694 runs  79 641 ✅ 1 💤 52 ❌

For more details on these failures, see this check.

Results for commit 4bd55514.

♻️ This comment has been updated with latest results.

@silverweed
silverweed force-pushed the string_view_signatures branch from 6e7e6fc to 4bd5551 Compare July 17, 2026 07:30
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.

1 participant