GEOS SDK TechDocs|
|
2.2 DB Groups |
2.4 Ungrouped DB Items
When you need a new DB group, call the DB routine
DBGroupAlloc()
(see Allocating and Freeing Groups). This routine creates and initializes a DB group block.
When you allocate a DB item, you specify which group the item will go in. The DB manager sets up an entry for the item in the group block. It then decides which item block to put the item in. It tries to keep all the item blocks at the right size to optimize speed. If all of the group's item blocks are too full, it allocates a new item block and allocates the new item in that block. In either case, it returns the new item's item-handle.
Once an item has been allocated, it will stay in the same item block (and have the same chunk handle) until it is freed or resized. If it is resized to a larger size, it may be moved to a different item block belonging to the same group.
GEOS SDK TechDocs|
|
2.2 DB Groups |
2.4 Ungrouped DB Items