- Amsterdam, Netherlands
- http://sacha.ligthert.net
-
Just another guy on the Internet.
- Joined on
2022-10-17
Block a user
Splitting the workload
This worked like a charm.
package main
import "fmt"
func main() {
var tasks int = 159203
var split int = 6
var tracker int
agents := make([]int, split)
for tasks != 0…
Splitting the workload
https://go.dev/play/p/GqX8a_vdkNd
package main
import (
"fmt"
"math"
"strconv"
)
func main() {
var tasks int = 159203
var split int = 6
var even_split float64
even_sp…
Splitting the workload
First iteration would be just dealing with the first row.
- Check if the first row can be split up. If not, exit.
- Check if the first row can be divided by the workload:
- If it can be…
Look into usage of Atomic package
Look into usage of Atomic package
Fix end-state (allow searches to finish)
Fix end-state (allow searches to finish)
This commit should fix the end-state issue. But it seems #6 ruined the estimation for long running estimations (rates seem to be off, halved).
Fix end-state (allow searches to finish)
for solver.iter != solver.counter {}
never works. For some reason the counter
never reaches iter
, making this a while true. Due to how if track <= int(percentage) {}
is setup and all the…