InevitableSwing [none/use name]@hexbear.net to The Dredge Tank@hexbear.netEnglish · 10 hours ago[Not the Onion] Simulationshexbear.netimagemessage-square46fedilinkarrow-up185arrow-down11file-text
arrow-up184arrow-down1image[Not the Onion] Simulationshexbear.netInevitableSwing [none/use name]@hexbear.net to The Dredge Tank@hexbear.netEnglish · 10 hours agomessage-square46fedilinkfile-text
minus-squareplinky [he/him]@hexbear.netlinkfedilinkEnglisharrow-up8·edit-25 hours agoSeems lots of unnecessary mods tbh, S=0 for i in 1:80000 S+=rand() end ceil(S)
minus-squarenaom3 [she/her]@hexbear.netlinkfedilinkEnglisharrow-up5·4 hours agoModding by 2 is just a bitwise operation tho
minus-squareplinky [he/him]@hexbear.netlinkfedilinkEnglisharrow-up1·edit-23 hours agoGotta dump results in some accumulate tho, and if then logic might be eh (although with branch prediction it might be auto 2 threads actually or similar utilization at least)
Seems lots of unnecessary mods tbh,
S=0
for i in 1:80000
S+=rand()
end
ceil(S)
Modding by 2 is just a bitwise operation tho
Gotta dump results in some accumulate tho, and if then logic might be eh (although with branch prediction it might be auto 2 threads actually or similar utilization at least)