Open blegat opened 1 year ago
I don't understand where the added allocations come from. It seems to be because I changed operate!!
into buffered_operate!!
. Actually, changing to operate!
further reduces it while it shouldn't. promote_operation
does not allocate anything though. I checked on Julia v1.9 beta and there is the same issue.
Part of https://github.com/JuliaAlgebra/MultivariatePolynomials.jl/issues/194
Needs
Int64
Benchmark 0
Before
After
Benchmark 1
Before
After
Benchmark 2
Before
After
Benchmark 3
Before
After
BigInt
Benchmark 0
Before
After
Benchmark 1
Before
After
Benchmark 2
Before
After
Benchmark 3
Before
After
Rational{BigInt}
Benchmark 0
Before
After
Benchmark 1
Before
After
Benchmark 2
Before
After
Benchmark 3
Before
After