I was just recently going through some old episodes from Software Engineering Radio when I came across this one episode featuring Casey Muratori, where he goes through some of his thoughts around his video from February 2023, titled "‘Clean’ Code, Horrible Performance". I was actually already aware of the video by this time, but listening through the episode gave me an itch to see these concepts in my reality, experiment them by myself.
I think they meant using for accumulating, like this:
Oh, I see. That would be interesting to benchmark too 👍
Anti Commercial AI thingy
CC BY-NC-SA 4.0
Yes. That’s what I meant.
Though I heavily expect the rust compiler to produce identical assembly for both types of iteration.