N
N Yiannakoulias
Hi all,
Is there a performance issue when passing data types of different sizes to
a function? For example, if a double precision variable is bigger than a
single precision variable, is it faster at run time to pass the single
precision variable? Let's say the function does the exact same thing in
both cases (say, returns an integer). Is this a compiler-specific issue,
or is there a rule of thumb applicable to C?
N
--
Is there a performance issue when passing data types of different sizes to
a function? For example, if a double precision variable is bigger than a
single precision variable, is it faster at run time to pass the single
precision variable? Let's say the function does the exact same thing in
both cases (say, returns an integer). Is this a compiler-specific issue,
or is there a rule of thumb applicable to C?
N
--