Hi Ho,

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

Regards, Marius

From: Ho Cheung [mailto:[email protected]]
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
[email protected]<mailto:[email protected]>
Cell: (775) 388-2368
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to