same secp256k1 wtien in vanitygen, kanagroo scripts, bitcrack, other tools in c by iceland...
but create like commands base working as above mention examples commands, no where
same i upload simple compare 2 files in add/sub pubkeys point, i upload python script and e sample files A B, check process time for 50k pubkeys
maybe you can find tweek python for better speed, but in my view, c++ or cuda, will do this process in maximum 2 seconds
write solutions here or at github issue area
https://github.com/onetrader2022/python-secp-compare