36 ms·
Destructors make function returns more expensive; exceptions are faster in these examples because they elide returns. At a guess, destructors would reduce the
by mcguire 10y ago
Destructors make function returns more expensive; exceptions are faster in these examples because they elide returns.
At a guess, destructors would reduce the advantage of exceptions in the case of deep stacks.