[Insight-developers] Insight-developers Digest, Vol 55, Issue 6

David Fuentes fuentesdt at gmail.com
Thu Nov 6 12:44:48 EST 2008


I thought default was without any

     -g -O?

compilers flags.
this would default to -O2 on most compilers? what are you comparing "slow" 
to? what kind of performance differences are you seeing w/ and w/o Release 
mode?



df





> Message: 3
> Date: Thu, 6 Nov 2008 17:34:19 +0100
> From: "Tom Vercauteren" <tom.vercauteren at m4x.org>
> Subject: [Insight-developers] Should default compile mode be Debug,
> 	Release or RelWithDebInfo?
> To: ITK <insight-developers at itk.org>
> Message-ID:
> 	<28392e8b0811060834o57018b4aof7f0d4c9e4563c34 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi all,
>
> It seems that many new ITK users find ITK slow. Part of this is of
> course based on some truth, but in many cases it ends up by
> "OK, I didn't know I had to compile in Release mode."
>
> So I am wondering whether it wouldn't be easier if, by default, ITK
> was build in Release mode (or maybe RelWithDebInfo).
>
> Indeed, I would expect that people that need ITK in debug mode are
> people that know how to use a debugger and hence can manage to find
> the adequate CMake option to switch to Debug.
>
> On the other hand newbies are less likely to know how to use a
> debugger, won't tweak with CMake options and expect things to run
> fast.
>
> Any thoughts?
>
> Tom
>
>
> ------------------------------
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
> End of Insight-developers Digest, Vol 55, Issue 6
> *************************************************
>


More information about the Insight-developers mailing list