[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.sbin/envstat
On Fri, Dec 14, 2012 at 06:18:57PM +0100, Marc Balmer wrote:
> >>>> Similarly it just isn't worth trying to free resources prior
> >>>> to program exit. Have you ever waited while a big C++ program
> >>>> runs all its destructors, paging in code and data just to exit!
> >>> Depends, it makes tools like valgrind a lot easier to use.
> >> Source code should be optimized for readability, performance,
> >> stability, and not for debug tools.
> > Ironically, proper ressource managements tends to make it much easier to
> > fulfill at least two of the three items...
> proper resource management is a good thing - if the code continues
> to run. In this case, where the program exits, there no benefit
> from freeing up memory etc.
David A. Holland
Main Index |
Thread Index |