mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-16 12:10:58 +01:00
branchless experiments (failed and reverted, see commented code)
This commit is contained in:
@@ -252,6 +252,17 @@ func main() {
|
||||
ym := y & (c - 1)
|
||||
|
||||
fmt.Println(xm & ym)
|
||||
|
||||
a := 1
|
||||
b := 1
|
||||
//gen := 100
|
||||
hist := 0
|
||||
for gen := 0; gen < 50; gen++ {
|
||||
fmt.Println((a ^ (1 ^ b)) * (gen - hist))
|
||||
if gen == 25 {
|
||||
a = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func _main() {
|
||||
|
||||
Reference in New Issue
Block a user