in reply to Re^9: Some code optimization
in thread Some code optimization

Thanks. Indeed I forgot to omit the return. I will now go on to follow the reco's regarding the second part and look forward to coming back here updating you.

I must comment that I am still surprised that such a simple function/piece of inline code takes so much time to execute. I never looked at this level of benchmarking, so I guess I had mistaken expectations.