P
Philipp
Hello
I profiled my program and got as result that two functions taking each
10% of the calculation time are simple get() for a member of a class
(returning a pointer).
Do you think that generally accessing this member directly (making it
public) would speed up things vs using the get function as an interface?
(if you thinks this might be compiler related, I'm using the following
gcc 3.3.1 (used for profiling with gprof on win2k)
icc 7.1 (for production, on linux)
Metrowerks Code Warrior C++ compiler 3.0.3 (for developping on win2k)
Thanks for your answers
Philipp
I profiled my program and got as result that two functions taking each
10% of the calculation time are simple get() for a member of a class
(returning a pointer).
Do you think that generally accessing this member directly (making it
public) would speed up things vs using the get function as an interface?
(if you thinks this might be compiler related, I'm using the following
gcc 3.3.1 (used for profiling with gprof on win2k)
icc 7.1 (for production, on linux)
Metrowerks Code Warrior C++ compiler 3.0.3 (for developping on win2k)
Thanks for your answers
Philipp