Login
From:
Daniel Lemire's blog
(Uncensored)
subscribe
Performance tip: avoid unnecessary copies
https://lemire.me/blog/2024/06/22/performance-tip-avoid-unnecessary-copies/
links
backlinks
Roast topics
Find topics
Find it!
Copying data in software is cheap, but it is not at all free. As you start optimizing your code, you might find that copies become a performance bottleneck.