i've got lot of old code big double[][] arrays , need flatten in double[] array new library usage. don't want copy, there simple way re-reference array in c?
it's impossible without copy.
the memory
double[][]not contiguous.the "rows" in
double[][]referdouble[]objects.the memory occupied
double[]has contiguous.
Comments
Post a Comment