diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-07 21:23:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-07 21:23:45 (GMT) |
commit | 585d31b7cb6cacfec86f68fc3dd66c0e67aafbd8 (patch) | |
tree | c2eb9866df550efc0fdba768889f9faacc0257f4 /src/H5Oprivate.h | |
parent | f73369b20c84fcab5de56cf3224ae3dd9c638912 (diff) | |
download | hdf5-585d31b7cb6cacfec86f68fc3dd66c0e67aafbd8.zip hdf5-585d31b7cb6cacfec86f68fc3dd66c0e67aafbd8.tar.gz hdf5-585d31b7cb6cacfec86f68fc3dd66c0e67aafbd8.tar.bz2 |
[svn-r8823] Purpose:
Code optimization
Description:
Since the raw B-tree nodes are the same size and only used when reading in
or writing out a B-tree node, move raw B-tree node buffer from being per node
to a single node that is shared among all B-tree nodes of a particular tree,
freeing up a lot of space and eliminating lots of memory copies, etc.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r-- | src/H5Oprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index 63cac3c..b7d9b46 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -133,6 +133,7 @@ typedef struct H5O_layout_chunk_t { unsigned ndims; /* Num dimensions in chunk */ size_t dim[H5O_LAYOUT_NDIMS]; /* Size of chunk in elements */ size_t size; /* Size of chunk in bytes */ + void *raw_page; /* Buffer for raw B-tree page */ } H5O_layout_chunk_t; typedef struct H5O_layout_compact_t { |