Some methods like this:
inplace!(::typeof(+), a::BigInt, b::BigInt, c::Integer) = inplace!(+,a,b,convert(BigInt,c))
should be calling add_ui! if the argument is a builtin signed or unsigned int. Converting to a BigInt is expensive.
I suppose there are a few other functions in GMP.MPZ that have not yet been supported.
Some methods like this:
inplace!(::typeof(+), a::BigInt, b::BigInt, c::Integer) = inplace!(+,a,b,convert(BigInt,c))should be calling
add_ui!if the argument is a builtin signed or unsigned int. Converting to aBigIntis expensive.I suppose there are a few other functions in GMP.MPZ that have not yet been supported.