Repository navigation
Conversation
Use MutableArithmetics scratch storage for single-term Gram products during both initialization and pruning. Retain an owned exponent key only when inserting a new sign count, and reuse that key for back edges. Postfilter benchmark on Julia 1.13.4, median of 11 warm calls against cdd60a7. All cases returned identical Gram bases. The pruning case for both monomial bases reduced 105 candidates to 15. | Basis | Case | Before allocations | After allocations | Before MiB | After MiB | | --- | --- | ---: | ---: | ---: | ---: | | Monomial | Weighted | 4,754 | 986 | 0.207 | 0.063 | | Monomial | Pruning | 45,713 | 2,679 | 1.838 | 0.196 | | Scaled monomial | Weighted | 4,754 | 986 | 0.207 | 0.063 | | Scaled monomial | Pruning | 45,713 | 2,679 | 1.838 | 0.196 | | Chebyshev | Weighted | 17,435 | 17,435 | 0.666 | 0.666 | | Chebyshev | Pruning | 35,726 | 35,726 | 1.332 | 1.332 | The benchmark uses the local upstream stack at StarAlgebras ed489f2, MultivariatePolynomials e43390d, and MultivariateBases c68c2cc.
This branch has not been deployed
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.
Use MutableArithmetics scratch storage for single-term Gram products during both initialization and pruning. Retain an owned exponent key only when inserting a new sign count, and reuse that key for back edges.
Postfilter benchmark on Julia 1.13.4, median of 11 warm calls against cdd60a7. All cases returned identical Gram bases. The pruning case for both monomial bases reduced 105 candidates to 15.
The benchmark uses the local upstream stack at StarAlgebras ed489f2, MultivariatePolynomials e43390d, and MultivariateBases c68c2cc.