[Insight-developers] Regarding the recent if statements on the assertion fixes
Ho Cheung
hocheung20 at gmail.com
Tue Jun 4 02:47:08 EDT 2013
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
Cell: (775) 388-2368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20130604/d67946b9/attachment.htm>
More information about the Insight-developers
mailing list