Next: Bitmapped Radix Tree Associative Array, Previous: Lookup Radix Tree Associative Array, Up: Trie String Key Pointer Value Arrays [Index]
The multibyte radix tree associative array uses 1, 2 or 4 bytes for node selection. It otherwise preserves the characteristics of the inlined radix tree associative array.
The trie cannot store binary keys (strings containing null characters).
General library:
See String Key Pointer Value Array Library.
fast
associative array constructor routine:
int x1f4_fast_sxdeck(void *, unsigned, struct x1f4_sxdeck_type *);
find
plain search routine:
int x1f4_find_sxdeck(void *, const char *, const void **);
fini
associative array regular destructor routine:
int x1f4_fini_sxdeck(void **);
flat
associative array destructor routine:
int x1f4_flat_sxdeck(void *);
init
associative array regular constructor routine:
int x1f4_init_sxdeck(void **, unsigned, struct x1f4_sxdeck_type *);
lime
data traversal routine:
int x1f4_lime_sxdeck(void *, void *, int (*)(void *, void *));
list
data traversal routine:
int x1f4_list_sxdeck (void *, void *, int (*)(void *, const char *, unsigned), char *);
post
plain data insertion routine:
int x1f4_post_sxdeck(void *, const char *, const void *);
rush
supporting tree visiting routine:
int x1f4_rush_sxdeck (void *, unsigned order, void *, int (*)(void *, unsigned depth, unsigned fanout));
order is the number of node selection bits: 8, 16 and 32 to pick 1, 2 and 4 bytes nodes respectively, 0 to include all nodes.
scan
supporting tree visiting routine:
int x1f4_scan_sxdeck (void *, void *, int (*)(void *, const void *, unsigned));