Committer: Tim Just <tim.just@xxxxxxxxxxxxxx> Date: 18/03/2010 at 16:15:18 Revision: 3693 Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: tiny Log: Added note regarding performance to lmod_module_exists. Modified: M lib/modularization/lmod.c === modified file 'lib/modularization/lmod.c' --- lib/modularization/lmod.c 2010-03-13 13:46:21 +0000 +++ lib/modularization/lmod.c 2010-03-18 14:14:54 +0000 @@ -362,6 +362,9 @@ * * Check whether a certain module is enabled. * + * @note This function uses string compares. Therefore you should call this + * function only once and cache the result to improve performance. + * * @param *module_id String identifier for the module to check. * * @return 0, if module with this id is NOT registered