Improve performance of you Rust functions by const currying (blog.cocl2.com)
from testeronious@lemmy.world to rust@programming.dev on 11 Apr 2024 22:11
https://lemmy.world/post/14183077

#rust

threaded - newest

solrize@lemmy.world on 12 Apr 2024 01:12 collapse

If the function is module local (idk the rust jargon for that) or the compiler supports whole program optimization, this should happen automatically.