usernamesAreTricky@lemmy.ml to Memes@lemmy.mlEnglish · 2 years agoDiscovered The Logic for the Fishing Industryi.imgur.comexternal-linkmessage-square4fedilinkarrow-up13arrow-down11cross-posted to: [email protected]
arrow-up12arrow-down1external-linkDiscovered The Logic for the Fishing Industryi.imgur.comusernamesAreTricky@lemmy.ml to Memes@lemmy.mlEnglish · 2 years agomessage-square4fedilinkcross-posted to: [email protected]
minus-squaremcc@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 years agoNo I mean, the if clause on overfishing is getting in the way of profiting. You can save at least 2 cycles in the loop. Then you might want to consider unrolling the loop or add multithreading. There is a slight chance of running out of resources but, I mean, what are the chances?
minus-squareusernamesAreTricky@lemmy.mlOPlinkfedilinkEnglisharrow-up1arrow-down1·2 years agoThat removes the humor aspect, however, which is critical to the code quality here ;)
No I mean, the if clause on overfishing is getting in the way of profiting. You can save at least 2 cycles in the loop.
Then you might want to consider unrolling the loop or add multithreading.
There is a slight chance of running out of resources but, I mean, what are the chances?
That removes the humor aspect, however, which is critical to the code quality here ;)