
29 Mar
2007
29 Mar
'07
10:42 a.m.
Fawzi Mohamed wrote:
good to know, and very important when benchmarking various algorithms: commenting out a variant is better as having it as separate function....
Yes, but don't get over-paranoid. The 'overhead' of calling as opposed to inlining is relatively small, and only matters if the function concerned is being called many many times in your inner loop. Jules