• JakenVeina@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    5 months ago

    I actually benchmarked almost exactly these same things, a few months ago, and that lines up with the results I got. foreach in particular is HEAVILY optimized for Array<T> at the bytecode level, I was quite impressed.