<div dir="ltr">I am running in release mode in QtCreator. I even tried running from outside and also copiling with -o2 and -03 optimization flags, but there is no improvement.<br><br>Jothy<br><br><div class="gmail_quote">On Sun, Jul 24, 2011 at 4:18 AM, John Drescher <span dir="ltr">&lt;<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Sat, Jul 23, 2011 at 3:48 PM, Jothy &lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt; wrote:<br>

&gt; Hi all,<br>
&gt;<br>
&gt; In my program vtkImageStencil take alomost 2-3 mins for vtkImageData with<br>
&gt; 160 slices with 0.9x0.9x2.5 spacing. Is there any way to speed up this?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
<br>
</div></div>Are you running release mode? And also not inside the debugger?<br>
Running debug mode or inside the Visual Studio can slow down some<br>
applications considerably ( I am talking about &gt; 10 times slower).<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br></div>