Rudamentary locked multithreading

2x faster, but 8x threads.. not very good yet
This commit is contained in:
Asriel Camora
2023-07-04 09:25:32 +02:00
parent e46d1b20fa
commit 75553de490
2 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ internal static class Program
var config = new SolverConfig()
{
Iterations = 30_000,//1_000_000
ThreadCount = 2,
Iterations = 30_000 / 8,//1_000_000
ThreadCount = 8,
};
var s = Stopwatch.StartNew();