Ignore:
Timestamp:
Jul 6, 2001, 6:57:59 PM (24 years ago)
Author:
umoeller
Message:

Misc changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/tree.c

    r83 r85  
    114114 *
    115115 *      -- Fully balanced trees can be quite expensive because on
    116  *         every insertion or deletion, the tree nodes must be reordered.
     116 *         every insertion or deletion, the tree nodes must be rotated.
    117117 *         By contrast, "Red-black" binary balanced trees contain
    118118 *         an additional bit in each node which marks the node as
    119119 *         either red or black. This bit is used only for efficient
    120120 *         rebalancing when inserting or deleting nodes.
    121  *
    122  *         The color of each node is instrumental in determining the
    123  *         balance of the tree. During insert and delete operations,
    124  *         nodes may be rotated to maintain tree balance.
    125121 *
    126122 *         I don't fully understand why this works, but if you really
Note: See TracChangeset for help on using the changeset viewer.