add comment regarding 'performance' of bot

This commit is contained in:
Simon Gardling 2025-02-25 11:01:57 -05:00
parent 6a00560a8a
commit 9976368730
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -220,6 +220,10 @@ impl FutureMoves {
.map(|(i, &child)| self.arena[child].value * ((i + 1) as i128)) .map(|(i, &child)| self.arena[child].value * ((i + 1) as i128))
.sum::<i128>(); .sum::<i128>();
// previously we used `depth` and divided `self_value` by it, idk if this is worth it
// we should really setup some sort of ELO rating for each commit, playing them against
// each other or something, could be cool to benchmark these more subjective things, not
// just performance
self.arena[idx].value = self.arena[idx].self_value as i128 + children_value; self.arena[idx].value = self.arena[idx].self_value as i128 + children_value;
} }
} }