Project-Arda / bgls

Aggregate and Multi Signatures based on BGLS over BN256 and BLS12-381
Apache License 2.0
60 stars 17 forks source link

Create a method to specify parallelism #43

Open ValarDragon opened 6 years ago

ValarDragon commented 6 years ago

A method needs to be created in bls and curves to specify the amount of cores / some upperbound for parallelism. In several cases, the fastest parallel algorithm may not be the fastest sequential algorithm, plus the overhead of go processes is unneccessary if parallelism isn't being used or if the user doesn't want this to be multi-threaded.