Methods [em]Compare[/em] and [em]Contains[/em] within [em]GHI.Utilities.Arrays[/em] class are implemented in managed code.
For example, [em]Compare[/em] method, apart from numerous checks, is just a simple for cycle:
for (int index = 0; index < num; ++index)
{
if ((int) array1[array1Offset + index] != (int) array2[array2Offset + index])
return false;
}
Can GHI team implement those two methods in unmanaged code like all the other methods are done within this class? It would increase speed drastically.