Closed joschmitt closed 1 month ago
I noticed that *(::QQFieldElem, ::Int) calls generic AbstractAlgebra code instead of flint.
*(::QQFieldElem, ::Int)
Before
julia> a = QQ(1, 2) 1//2 julia> @btime 2*a; 116.807 ns (11 allocations: 192 bytes)
After
julia> @btime 2*a; 20.632 ns (1 allocation: 32 bytes)
This is related to https://github.com/thofma/Hecke.jl/issues/1537 .
I noticed that
*(::QQFieldElem, ::Int)
calls generic AbstractAlgebra code instead of flint.Before
After
This is related to https://github.com/thofma/Hecke.jl/issues/1537 .