Skip to content

Commit

Permalink
default parallelism to number of logical cores
Browse files Browse the repository at this point in the history
  • Loading branch information
aouyang1 committed Dec 27, 2019
1 parent 9c8a119 commit fb20fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type ComputeOptions struct {
func NewComputeOpts() ComputeOptions {
return ComputeOptions{
Algorithm: AlgoMPX,
Parallelism: runtime.NumCPU() * 2,
Parallelism: runtime.NumCPU(),
}
}

Expand Down

0 comments on commit fb20fa2

Please # to comment.