chrs@programming.dev to Rust@programming.devEnglish · 7 months ago"Clean" Code, Horrible Performance in Rustchrs.devexternal-linkmessage-square3fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1external-link"Clean" Code, Horrible Performance in Rustchrs.devchrs@programming.dev to Rust@programming.devEnglish · 7 months agomessage-square3fedilink
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.