usernamesAreTricky@lemmy.ml to Memes@lemmy.mlEnglish · 1 year agoDiscovered The Logic for the Fishing Industryi.imgur.comimagemessage-square4fedilinkarrow-up116arrow-down11cross-posted to: programmerhumor@lemmy.ml
arrow-up115arrow-down1imageDiscovered The Logic for the Fishing Industryi.imgur.comusernamesAreTricky@lemmy.ml to Memes@lemmy.mlEnglish · 1 year agomessage-square4fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaremcc@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year 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·1 year 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 ;)