I am assuming the slow one is the nim-lang library and the other the gmp wrapper? Also have you tried <https://github.com/ykoba1994/bignumber.nim> ?
- BigNum and BigInt timings on the Pollard Rho algorithm DougT
- BigNum and BigInt timings on the Pollard Rho algorithm planetis