> By no means was this any serious benchmarking but eliminating the function
> pointer did not seem to make an obvious difference.
Good job!!!!
> I would still go for the function-pointer-less version of the
> code since it actually is one line shorter, I think. The second,
> function-pointer-less version of the code can be found below.
I like more the version with the pointer function because you
only have a copy of the loop and because the text segment of
the executable will be smaller.
--
Roberto E. Vargas Caballero
Received on Thu Jan 16 2014 - 10:16:46 CET