On Wed, Nov 25, 2009 at 5:04 AM, Kyle Sluder <kyle.slu...@gmail.com> wrote:
> On Wed, Nov 25, 2009 at 4:50 AM, Nick Rogers <roger...@mac.com> wrote:
>> Why is etaDouble is being optimized away?
>
> Because it is unused.

For those that may be wondering why etaDouble is optimized out but not
the lines above it as well despite those values not being used once
etaDouble is optimized out... well the compiler cannot optimize out
message sends because it cannot know the side effects of those
messages.

(Had this asked once by someone more used to C++ and inlined code)

-Shawn
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to