mirror of
https://github.com/Z3Prover/z3
synced 2025-09-29 20:59:01 +00:00
Update polynomial.cpp
This commit is contained in:
parent
f4a87d4f61
commit
7efcda2674
1 changed files with 2 additions and 1 deletions
|
@ -2334,7 +2334,8 @@ namespace polynomial {
|
|||
// Buffer for multiplying large polynomials.
|
||||
// It delays internalizing monomials, and uses sorted vectors instead of hash tables.
|
||||
// this implementation is 10x slower on results up to 10K monomials
|
||||
// it also has a bug as entries are not properly sorted.
|
||||
// it also has a bug as entries are not properly sorted and therefore
|
||||
// the same monomial can appear several times.
|
||||
// perf tuning and debugging is required if this is to be used.
|
||||
// it is possible this can be faster for very large polynomials by ensuring cache locality.
|
||||
// at this point there are several cache misses: such as m_powers are pointers inside of m_monomial.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue