[sr-dev] avoiding hash calculation in xavp api function calls
Juha Heinanen
jh at tutpro.com
Wed Dec 12 12:51:37 CET 2012
many xavp api functions take name (str) as argument and calculate hash
based on it. when name of xavp is constant (not a pv value) hash
could pre-calculated and passed as integer argument to xavp api
functions.
to me calculating hash each time when api function is called looks like
waste of cpu resources. any comments on this?
-- juha
More information about the sr-dev
mailing list