Previous: Pointer Critical Bit Tree Associative Array, Up: Critical Bit Tree String Key Pointer Value Arrays [Index]
The cached critical bit tree associative array stores a small number of bits adjacent to the critical bit with the tree nodes. The caching renders the final string comparison unnecessary when it continuously tiles the tree descending path.
The improvements over the plain critical bit tree associative array are dubious, and the data structure is designed more as a testbed for the caching technique which is of more general interest.
General library:
See String Key Pointer Value Array Library.
fast associative array constructor routine:
int x1f4_fast_s8deck(void *, unsigned, struct x1f4_s8deck_type *);
find plain search routine:
int x1f4_find_s8path(void *, const char *, unsigned, const void **);
fini associative array regular destructor routine:
int x1f4_fini_s8deck(void **);
flat associative array destructor routine:
int x1f4_flat_s8deck(void *);
init associative array regular constructor routine:
int x1f4_init_s8deck(void **, unsigned, struct x1f4_s8deck_type *);
note data traversal routine:
int x1f4_note_s8deck
    (void *, void *, int (*)(void *, const char *, unsigned));
pass plain data deletion routine:
int x1f4_pass_s8path(void *, const char *, unsigned);
post plain data insertion routine:
int x1f4_post_s8path(void *, const char *, unsigned, const void *);