savepoint

This commit is contained in:
NunoSempere 2024-02-25 19:35:20 -03:00
parent c4167681d7
commit 5c51b6a0a2
2 changed files with 3 additions and 3 deletions

BIN
probppl

Binary file not shown.

View File

@ -120,7 +120,7 @@ func draw148PplFromDistributionAndCheck(d IntProbs, r src, show bool) int64 {
func getUnnormalizedBayesianUpdateForDistribution(d IntProbs, r src) int64 {
var sum int64 = 0
n := 1000
n := 30_000
for i := 0; i < n; i++ {
/* if i%1000 == 0 {
fmt.Println(i)
@ -134,11 +134,11 @@ func getUnnormalizedBayesianUpdateForDistribution(d IntProbs, r src) int64 {
func main() {
n_dists := 1000
n_dists := 30_000
var dists = make([]IntProbsWeights, n_dists)
// Prepare for concurrency
num_threads := 8
num_threads := 32
var wg sync.WaitGroup
wg.Add(num_threads)