diff options
author | David Young <dyoung@hdfgroup.org> | 2020-08-31 20:50:31 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-08-31 20:50:31 (GMT) |
commit | 733a02386ba651c78b9fe9a3c8ba88225aa8425b (patch) | |
tree | 8ac5de12a912d27055cdace633283191d912cfc7 /src/H5FDprivate.h | |
parent | fd406a654c1c0796af8624c5b022dcc29cf209ec (diff) | |
download | hdf5-733a02386ba651c78b9fe9a3c8ba88225aa8425b.zip hdf5-733a02386ba651c78b9fe9a3c8ba88225aa8425b.tar.gz hdf5-733a02386ba651c78b9fe9a3c8ba88225aa8425b.tar.bz2 |
Add/improve some struct/member documentation per John's request.
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index 0d05b15..8acbd30 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -157,6 +157,15 @@ * lower file and is therefore about to be removed from the * metadata file * + * garbage: `true` if the entry is marked for garbage collection and is + * thus invalid. + * + * For n the number of entries, deleting an entry is O(n). + * H5PB_dest() deletes all entries. Instead of deleting + * entries one-by-one at O(n^2) cost, H5PB_dest() marks + * each disused entry for garbage collection and sweeps all + * entries up before it is done. + * *---------------------------------------------------------------------------- */ typedef struct H5FD_vfd_swmr_idx_entry_t { |