chrs@programming.dev to Rust@programming.devEnglish · 1 year ago"Clean" Code, Horrible Performance in Rustchrs.devexternal-linkmessage-square3linkfedilinkarrow-up13arrow-down10
arrow-up13arrow-down1external-link"Clean" Code, Horrible Performance in Rustchrs.devchrs@programming.dev to Rust@programming.devEnglish · 1 year agomessage-square3linkfedilink
minus-squareTurun@feddit.delinkfedilinkarrow-up1·1 year agoIt would be interesting to see if an iterator instead of a manual for loop would increase the performance of the base case. My guess is not, because the compiler should know they are equivalent, but would be interesting to check anyway.
It would be interesting to see if an iterator instead of a manual for loop would increase the performance of the base case.
My guess is not, because the compiler should know they are equivalent, but would be interesting to check anyway.