On Thu, Dec 11, 2008 at 2:38 PM, Roy Stogner <[email protected]> wrote:
>
> While explaining the reference counting base class to Paul the other
> day, it struck me: why is this configure option independent of
> compilation mode?  It's basically only used for debugging.  Instead of
> just enabled or disabled, would it make more sense to add a third (and
> new default) option, that enables reference counting for dbg and devel
> modes but disables it for opt/prof?

Is this a performance issue?  Not every class is reference counted,
and it's not like a reference-counted pointer which requires a lot of
bookkeeping and junk to make sure all the counts are up-to-date.  I
don't object to turning it off during opt, just wondering if there was
a big slowdown for your code.

-- 
John

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to