A Friday 26 March 2010 19:43:57 Andrew Collette escrigué: > Hi Francesc, > > > I'm reluctant to zero the memory of the data container before data is > > read from HDF5 because of performance reasons. I'm wondering whether > > this issue can be solved on the HDF5 part (i.e. zero memory before to > > write), or the user has to be forced to zero the memory of its data > > containers prior to read data (which would be bad news for performance). > > Can this be addressed with the function H5Tset_pad? The H5T > documentation suggests that if you set the padding of the destination > type to H5T_PAD_ZERO, the parts of the type not occupied by > "meaningful" data should be set to zero. However, I've never tried > this...
Excellent, I think I'll try this venue. Thanks! -- Francesc Alted _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
