25-Diamond I
March 24, 2013
Solved
Is there an explanation for that huge speed difference?
- March 24, 2013
- 5 replies
- 1920 views
Attached find a worksheet with three different routines to draw a circular frame around an RGB image.
I have no explanation why the second and third routine are over 100 times slower than the first, which uses an auxiliary routine which is called three times.
I would have expected FrameImg2 to be a bit more speedy than the other two because the if condition is only evaluated once and the i-loop is only triggered when necessary.
Anybody an explanation?


