3 ms·
Because in C++ the rule is "you only pay for what you use." All the things you want would incur a performance penalty were they the default.
by mihai_ionic 13y ago
Because in C++ the rule is "you only pay for what you use."
All the things you want would incur a performance penalty were they the default.
- betterunix 13y agoThat is a typical trade-off for high-level features: you incur a (constant factor) performance penalty to gain programmer productivity. If you need to avoid performance hits wherever possible, the language should give you an escape hatch; default behavior should make developing reliable software easier, not harder.