Modern optimizing compilers are truly amazing. Rust / LLVM just broke my brain by turning what I was SURE would be poorly optimized code due to indirection into a tight result with zero perceptible overhead.

Modern CPUs also probably help.

2

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/ianthetechie/statuses/115823469357245982 on your instance and quote it. (Note that quoting is not supported in Mastodon.)