logoalt Hacker News

tntxtntlast Wednesday at 12:53 AM1 replyview on HN

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


Replies

Retr0idlast Wednesday at 11:05 AM

No, MR in pure python is ~instantaneous for numbers of this magnitude.

From looking at the code, the overhead will be from repeatedly invoking git as a subprocess.