Your library performance is Very good for Scalar Multiplication. But i am trying for Point Addition and getting slower speed.
pub1 = bit.Key.from_int(1)._pk.public_key
timeit pub1.combine_keys([pub1, pub1])
8.81 µs ± 287 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
In comparison, by using gmpy2 with https://github.com/iceland2k14/bsgs/blob/main/gmp_ec.py
timeit ec.G + ec.G
6.56 µs ± 106 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
Maybe i am not trying in proper way to do Point Addition with bit or coincurve. Can you please show ?
Your library performance is Very good for Scalar Multiplication. But i am trying for Point Addition and getting slower speed.
pub1 = bit.Key.from_int(1)._pk.public_keytimeit pub1.combine_keys([pub1, pub1])8.81 µs ± 287 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
In comparison, by using gmpy2 with https://github.com/iceland2k14/bsgs/blob/main/gmp_ec.py
timeit ec.G + ec.G6.56 µs ± 106 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
Maybe i am not trying in proper way to do Point Addition with bit or coincurve. Can you please show ?