• mcc@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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?