chrs@programming.dev to Rust@programming.devEnglish · 7 months ago"Clean" Code, Horrible Performance in Rustchrs.devexternal-linkmessage-square5fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1external-link"Clean" Code, Horrible Performance in Rustchrs.devchrs@programming.dev to Rust@programming.devEnglish · 7 months agomessage-square5fedilink
minus-squareTurun@feddit.delinkfedilinkarrow-up1·7 months 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.