usernamesAreTricky to MemesEnglish · 1 year agoDiscovered The Logic for the Fishing Industryi.imgur.comexternal-linkmessage-square4fedilinkarrow-up145arrow-down14cross-posted to: programmerhumor
arrow-up141arrow-down1external-linkDiscovered The Logic for the Fishing Industryi.imgur.comusernamesAreTricky to MemesEnglish · 1 year agomessage-square4fedilinkcross-posted to: programmerhumor
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-squareusernamesAreTrickyOPlinkfedilinkEnglisharrow-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 ;)