5 ms·
But once you've optimized those sections, the rest of the performance problems are left scattered through your code. I've had to rewrite a system in C++ just a
by panic 10y ago
But once you've optimized those sections, the rest of the performance problems are left scattered through your code. I've had to rewrite a system in C++ just a few weeks away from shipping because even after optimizing all the performance-critical sections, we still needed that extra 15% or so of "ambient" performance.
- malisper 10y ago> we still needed that extra 15% or so of "ambient" performance. This doesn't make sense to me. That 15% of time is spent somewhere. It certainly isn't just "ambient".
- panic 10y agoYes, it's spent carrying out the fundamental operations of the language (mostly method lookup and dispatch in this case).
- pka 10y agoSure, then you have a valid use case for C/C++ (even better, Rust!) But often people don't and still use C++.
- deleted 10y ago[deleted]