InevitableSwing [none/use name]@hexbear.net to The Dredge Tank@hexbear.netEnglish · 15 hours ago[Not the Onion] Simulationshexbear.netimagemessage-square46fedilinkarrow-up193arrow-down11file-text
arrow-up192arrow-down1image[Not the Onion] Simulationshexbear.netInevitableSwing [none/use name]@hexbear.net to The Dredge Tank@hexbear.netEnglish · 15 hours agomessage-square46fedilinkfile-text
minus-squareplinky [he/him]@hexbear.netlinkfedilinkEnglisharrow-up8·edit-211 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-up6·9 hours agoModding by 2 is just a bitwise operation tho
minus-squareplinky [he/him]@hexbear.netlinkfedilinkEnglisharrow-up1·edit-28 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)