InevitableSwing [none/use name] to The Dredge Tank • 13 hours ago[Not the Onion] Simulationsimagemessage-square46 fedilinkarrow-up189file-text
arrow-up189image[Not the Onion] SimulationsInevitableSwing [none/use name] to The Dredge Tank • 13 hours agomessage-square46 Commentsfedilinkfile-text
minus-squareplinky [he/him]hexbear8·edit-28 hours agoSeems lots of unnecessary mods tbh, S=0 for i in 1:80000 S+=rand() end ceil(S) link
minus-squareplinky [he/him]hexbear1·edit-25 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) link
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)