Fix concurrency deadlock
I'm stupid and forgot it divided the number of iterations by 8, no wonder it was so fast lmao
This commit is contained in:
@@ -41,15 +41,13 @@ internal static class Program
|
||||
QualityDivider = 115,
|
||||
ProgressModifier = 80,
|
||||
ProgressDivider = 130,
|
||||
},
|
||||
0
|
||||
}
|
||||
);
|
||||
|
||||
var threads = 8;
|
||||
var config = new SolverConfig()
|
||||
{
|
||||
Iterations = 30_000 / threads,
|
||||
ThreadCount = threads,
|
||||
Iterations = 1_000_000,
|
||||
ThreadCount = 8,
|
||||
};
|
||||
|
||||
Debugger.Break();
|
||||
|
||||
Reference in New Issue
Block a user