[Insight-developers] Regarding the recent if statements on the assertion fixes

M.Staring at lumc.nl M.Staring at lumc.nl
Tue Jun 4 03:04:09 EDT 2013


Hi Ho,

Wow thanks for taking a look. Yes that looks excellent!

Regards, Marius

From: Ho Cheung [mailto:hocheung20 at gmail.com]
Sent: dinsdag 4 juni 2013 8:47
To: ITK Developers; Staring, M. (LKEB)
Subject: Regarding the recent if statements on the assertion fixes

Hi Marius,

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:

Windows 7 no if statement        : 5.39820 seconds
Windows 7 if statement             : 5.41447 seconds

Kubuntu 13.04 no if statement   : 4.77541 seconds
Kubuntu 13.04 if statement        : 4.77806 seconds
Hopefully, this will satisfy you of the performance of the function in question.
https://github.com/hocheung20/test_debug_assertion_performance
Regards,

Ho Cheung
Research Assistant
Bio-Image Analytics Lab - University of Houston
hocheung20 at gmail.com<mailto:hocheung20 at gmail.com>
Cell: (775) 388-2368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20130604/1a3d34aa/attachment.htm>


More information about the Insight-developers mailing list