google / etc2comp

Apache License 2.0
376 stars 120 forks source link

Default number of jobs is not correct #38

Open emrekurubas opened 5 years ago

emrekurubas commented 5 years ago

Documentation states that number of jobs by default is 1. However, when checking the source code, there is a macro definition called MIN_JOBS setting that value to 8.

So when etc2comp is run with parameters -jobs x (x > 0 and x < 9) etc2 spawns 11 threads. And when x > 8, thread count increases linear as expected.