Run results for: Matrix 3x3 lib: impact of object type on functions optimization - different type of function argument
Does the compiler determine that type of all created matrix-objects is the same?
M3_0: matrix-object created in different places - see M3_0.new* functions.
M3_1: matrix-object created by constructor - see M3_1 function.
M3_2: matrix-object created in one place - see M3_2.newVal function.
Affected functions:
- mul_a()
- setVal()
- setCopy()
Note: the time of creating matrix-objects is also included.