<div dir="ltr"><div><div>Hi Marius,<br><br>I allocated an itkArray<unsigned char> of size 6. I then proceeded to call fill(0) on it a 2^30 times. Here are the results on Linux and Windows:<br></div><div><br>Windows 7 no if statement : 5.39820 seconds<br>
Windows 7 if statement : 5.41447 seconds<br><br>Kubuntu 13.04 no if statement : 4.77541 seconds<br>Kubuntu 13.04 if statement : 4.77806 seconds<br><br></div><div>Hopefully, this will satisfy you of the performance of the function in question.<br>
<br></div><a href="https://github.com/hocheung20/test_debug_assertion_performance">https://github.com/hocheung20/test_debug_assertion_performance</a><br><br></div><div>Regards,<br><br clear="all"><div><div>Ho Cheung<br>Research Assistant<br>
Bio-Image Analytics Lab - University of Houston<br><a href="mailto:hocheung20@gmail.com" target="_blank">hocheung20@gmail.com</a><br>Cell: (775) 388-2368<br></div>
</div></div></div>