Skip to content

[WIP][RF] Remove all code related to constant term optimization#21831

Draft
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:const_optimize_removal
Draft

[WIP][RF] Remove all code related to constant term optimization#21831
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:const_optimize_removal

Conversation

@guitargeek
Copy link
Copy Markdown
Contributor

This is one of the most complicated aspects of RooFit, which was deprecated in 6.40 and scheduled for removal in 6.42.

It amounted to over 1 percent of the RooFitCore source code, and is now superseeded by the vectorized evaluation backend, which does the caching of vector buffers transparently in the RooFit evaluator.

Follows up on 7e94aef, where the feature got deprecated.

Do not merge yet! This is for the 6.42 development cycle. But since this is a pretty massive change, I wanted to see before what would happen.

@guitargeek guitargeek self-assigned this Apr 8, 2026
@guitargeek guitargeek force-pushed the const_optimize_removal branch from 36493d2 to 06fcbf7 Compare April 8, 2026 09:47
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Test Results

    22 files      22 suites   3d 5h 38m 53s ⏱️
 3 833 tests  3 831 ✅  1 💤  1 ❌
75 653 runs  75 616 ✅ 18 💤 19 ❌

For more details on these failures, see this check.

Results for commit 54f6ce7.

♻️ This comment has been updated with latest results.

This is one of the most complicated aspects of RooFit, which was
deprecated in 6.40 and scheduled for removal in 6.42.

It amounted to over 1 percent of the RooFitCore source code, and is now
superseeded by the vectorized evaluation backend, which does the caching
of vector buffers transparently in the RooFit evaluator.
@guitargeek guitargeek force-pushed the const_optimize_removal branch from 06fcbf7 to 54f6ce7 Compare April 12, 2026 14:56
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