[Mono-dev] Array.Copy and float[,]

Casey Marshall casey.s.marshall at gmail.com
Fri May 14 18:45:01 EDT 2010


So, on Mono 2.6.3 it looks like System.Array.Copy does not go the "fast" route if the arrays are of type float[,], that is, it copies the arrays value-by-value, which is very slow. Using a fast version (e.g., memcpy, or whatever is under the hood) for multi-dimensional arrays looks like low-hanging fruit to me, so I'm curious why it isn't supported?


More information about the Mono-devel-list mailing list