-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTODO
More file actions
48 lines (24 loc) · 1.32 KB
/
Copy pathTODO
File metadata and controls
48 lines (24 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
* Code cleanup.
* Tests.
* Find an example use of the cTree tree type.
* Makefile install target
DONE * Document all possible remove fixup cases.
DONE * Document all possible insert fixup cases.
DONE * Verify all remove fixup cases handled.
DONE * Verify all insert fixup cases handled.
DONE * Verify SWAP_NODES() handles the case where a node is a direct child of the other.
DONE * Simplify fixup loops with a temporary/dummy root node.
DONE * Implement intended Context semantics.
DONE * Move balance information into child pointer low order bits.
DONE * Minimize repeated use of GET_CHILD(), CHILD_DIR(), and DIR_OTHER() macros.
DONE * Investigate stack alternatives for Bulk_Tree_Load().
DONE * Change the node structure to use abstract types instead of pointers and add PUBLIC accessors.
DONE * Refactor Tree_Load so that all tree types can use the same code.
DONE * CONTEXT_SET, CONTEXT_RESET, & CONTEXT_RESET_ALL need to check if context checks are available and enabled.
DONE * FOREIGN(context_, insert) and FOREIGN(context_, remove) should be void functions.
DONE * Implement sTree and cTree tree types.
DONE * Enhance and cleanup callback protocols.
DONE * Documentation.
REJECTED * Return callback error results to calling code.
Callbacks already have a means to return more specific error codes in
the callback data.