
5 Nov
2019
5 Nov
'19
7:47 a.m.
cpp_int is more convenient but mpz_int is faster especially for long numbers? What say benchmarks? For mpz_int I must install GMP on Linux or build MPIR on WIndows (build lib_mpir_core2) ? I want make sample benchmark test but I can't convert cpp_it to mpz_int nor iport bits, whereas for cpp_int I can import_bits(x, xBytes.begin(), xBytes.end()) where vector<uint8_t> xBytes; Question: is possible import byte array to mpz_int?