help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: G++ optimization options


From: Pascal J. Bourguignon
Subject: Re: G++ optimization options
Date: Wed, 15 Apr 2009 13:03:31 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

RV <rahul.vakil@gmail.com> writes:
> I am using -g option and -O3 option while building the release mode.
> The code sizes produced while using -g option and -O3 options
> independently are vary considerably. Will it harm the speed of
> execution of code?

It should not significantly change the speed of execution.

The difference in size is constituted by the debugging information,
and it shouldn't even be loaded in RAM unless you're running a
debugger to use it.


-- 
__Pascal Bourguignon__


reply via email to

[Prev in Thread] Current Thread [Next in Thread]