kingthrillgore to [email protected] • 1 year agodoes this code run rulelemmy.mlimagemessage-square40fedilinkarrow-up1281arrow-down13
arrow-up1278arrow-down1imagedoes this code run rulelemmy.mlkingthrillgore to [email protected] • 1 year agomessage-square40fedilink
minus-square@[email protected]linkfedilink4•1 year agobut if you do it as a for loop it would be slower
minus-square@[email protected]linkfedilink3•1 year agoUnless you’re looping over more than a million elements, that’s a poor excuse.
but if you do it as a for loop it would be slower
Unless you’re looping over more than a million elements, that’s a poor excuse.
or you’re doing this a million times