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

mvpoly: introduce optional param upper bound to compute nested loops #2872

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

dannywillems
Copy link
Member

Using filter_map speeds up the computation by avoiding creating a bigger map than expected if a low upper bound is given with large number of indices.

Cherry-picked from #2702

@dannywillems dannywillems force-pushed the mvpoly/param-compute-nested-loop-degree-bound branch from 05c2cbf to 597a664 Compare December 11, 2024 14:45
@dannywillems dannywillems force-pushed the mvpoly/remove-flaky-test branch from 2d497c5 to eb0c6a9 Compare December 11, 2024 15:13
Copy link
Member

@querolita querolita left a comment

Choose a reason for hiding this comment

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

looks like this is carrying the other changes (random generation and flaky test removal) as well though

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.02%. Comparing base (55acf93) to head (ac2500f).
Report is 24 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2872      +/-   ##
==========================================
- Coverage   72.02%   72.02%   -0.01%     
==========================================
  Files         257      257              
  Lines       60732    60720      -12     
==========================================
- Hits        43741    43731      -10     
+ Misses      16991    16989       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dannywillems dannywillems changed the base branch from mvpoly/remove-flaky-test to mvpoly/improve-gen-random December 11, 2024 15:41
@dannywillems
Copy link
Member Author

looks like this is carrying the other changes (random generation and flaky test removal) as well though

Oopsie. Lemme rebase. Nice catch.

using filter_map speeds up the computation by avoiding creating a bigger map
than expected if a low upper bound is given with large number of indices.
@dannywillems dannywillems force-pushed the mvpoly/param-compute-nested-loop-degree-bound branch from 597a664 to ac2500f Compare December 11, 2024 15:43
@dannywillems
Copy link
Member Author

looks like this is carrying the other changes (random generation and flaky test removal) as well though

Oopsie. Lemme rebase. Nice catch.

Should be better now.

Base automatically changed from mvpoly/improve-gen-random to master December 11, 2024 17:23
@dannywillems dannywillems merged commit 644bf15 into master Dec 11, 2024
8 checks passed
@dannywillems dannywillems deleted the mvpoly/param-compute-nested-loop-degree-bound branch December 11, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants