In general, does it matter whether primitive type parameters are passed to a function like setSig1 by reference or by value? Is one or the other method preferable?
Typically, primitive type arguments would be passed by value unless the function may change their values (upon which they would be passed by reference).