diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2007-06-19 20:05:24 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2007-06-19 20:05:24 (GMT) |
commit | 6017d0c70fda2a36cf963193e979f0548cb0c954 (patch) | |
tree | bc54a1f86fb94fe5dcecd2ba8b2b2623c5c38a77 /src/H5dbg.c | |
parent | 32d09759bdf082d1a5d87903a58b0ed6c03dbe8c (diff) | |
download | hdf5-6017d0c70fda2a36cf963193e979f0548cb0c954.zip hdf5-6017d0c70fda2a36cf963193e979f0548cb0c954.tar.gz hdf5-6017d0c70fda2a36cf963193e979f0548cb0c954.tar.bz2 |
[svn-r13884] The second step of optimization for compound data for the Chicago
company. The I/O is optimized when the source and destination
members are a subset of each other one way or another, and
the order is the same, and no conversion is needed. For example:
struct source { struct destination {
TYPE1 A; --> TYPE1 A;
TYPE2 B; --> TYPE2 B;
TYPE3 C; --> TYPE3 C;
}; TYPE4 D;
TYPE5 E;
};
or
struct destination { struct source {
TYPE1 A; --> TYPE1 A;
TYPE2 B; --> TYPE2 B;
TYPE3 C; --> TYPE3 C;
}; TYPE4 D;
TYPE5 E;
};
The optimization is simply moving data from the source to the
appropriate places in the buffer and bypass the reading of
the background data and data conversion.
Tested on smirom, liberty, sol, and copper.
Diffstat (limited to 'src/H5dbg.c')
0 files changed, 0 insertions, 0 deletions