Usage of COMPOUND datatype.


i got an array (of size SIZE) of struct. Each struct contain 4 double and 2 int.

I want to store it into n HDF5 file.

If i understood, i need to create a dataset with COMPOUND datatype of size SIZE.

But i'm wondering , maybe it will give me a faster reading access if i create a DataSet with H5T_NATIVE_DOUBLE datatype of size 6*SIZE.

What do you think ?