What is faster? Modular Arithmetic functions and operations

I wouldn’t use a bigint for digits at all, since that isn’t a big number. Instead use big(10)^c

4 Likes