• Sibbo@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Yep. I remember parallelising emarrasingly parallel C++ code once. I had an array for the results of each job, but forgot to give each job their own index in the array. So everyone wrote their results to the zeroeth entry in parallel. It was cache efficient this way, but the result was not what I expected.