Eran Kampf
Eran Kampf
1 min read

Matrix4 benchmark results - take two

Here’s an update on my Matrix4 Benchmark Results.

The last test compared the generic class compiled with the new C# 2.0 compiler against the non-generic class (from the Sharp3D.Math library) compiled for .NET 1.1.

I decided to make another test were both generic and non-generic classes are in the same project and compiled for .NET 2.0.

Oddly enough, when I ran the second test on my machine the results showed that the generic class runs faster than the non generic class.
However on my friend’s machine the results were more like the ones in the first test (non-generic slightly faster).

Here’s the test code and executable: (26.94 KB)