2 ms·
It totally depends on the program. Sometimes you need to use Arc, sometimes you don't. Arc doesn't involve any runtime asserts though and it's not a crime to us
by IshKebab 2y ago
It totally depends on the program. Sometimes you need to use Arc, sometimes you don't. Arc doesn't involve any runtime asserts though and it's not a crime to use it.
For example I just ripgrep. Arc is used 29 times, compared to 185 uses of Vec.