H5P_GET_LINK_PHASE_CHANGE queries the maximum number of entries for a compact group and the minimum number links to require before converting a group to a dense form. In the compact format, links are stored as messages in the group’s header. In the dense format, links are stored in a fractal heap and indexed with a version 2 B-tree. max_compact is the maximum number of links to store as header messages in the group header before converting the group to the dense format. Groups that are in the compact format and exceed this number of links are automatically converted to the dense format.
min_dense is the minimum number of links to store in the dense format. Groups which are in dense format and in which the number of links falls below this number are automatically converted back to the compact format.
In the compact format, links are stored as messages in the group’s header. In the dense format, links are stored in a fractal heap and indexed with a version 2 B-tree. See H5P_SET_LINK_PHASE_CHANGE for a discussion of traditional, compact, and dense group storage. |