𝔼𝕩𝕦𝕤𝕚𝕒@lemmy.world to memes@lemmy.world · 18 hours agoTrue Spaghetti codelemmy.worldimagemessage-square29fedilinkarrow-up10arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up10arrow-down1imageTrue Spaghetti codelemmy.world𝔼𝕩𝕦𝕤𝕚𝕒@lemmy.world to memes@lemmy.world · 18 hours agomessage-square29fedilinkcross-posted to: programmer_humor@programming.dev
minus-squaredevfuuu@lemmy.worldlinkfedilinkarrow-up0·17 hours agoFor anyone who controls time travel this is the fastest algorithm ever. Probably gonna change everything when we are traveling through space and passing by some dark holes.
minus-squarewise_pancake@lemmy.calinkfedilinkarrow-up0·17 hours agoI have a great performance optimization for this What if instead of 1s sleep, we did 0.5s sleep? That’s a 100% improvement.
minus-squareAmanduh@lemm.eelinkfedilinkarrow-up0·15 hours agoIt’s not sleeping for 1 second, $1 is an input parameter in the script
For anyone who controls time travel this is the fastest algorithm ever. Probably gonna change everything when we are traveling through space and passing by some dark holes.
I have a great performance optimization for this
What if instead of 1s sleep, we did 0.5s sleep? That’s a 100% improvement.
It’s not sleeping for 1 second, $1 is an input parameter in the script