30-120 seconds sounds surprisingly long for ~368 attempts, do you know which part(s) the slowness comes from?
From doing MR rounds in pure Python: https://github.com/textonly/git-prime/blob/main/git-prime-co....
Should be under 5 seconds in C or C++ using gmp
Have not flame graphed or even really considered optimization
From doing MR rounds in pure Python: https://github.com/textonly/git-prime/blob/main/git-prime-co....
Should be under 5 seconds in C or C++ using gmp