u3: adds comments to inner hashtable struct definitions

This commit is contained in:
Joe Bryan 2019-09-17 23:41:18 -07:00
parent 8059d10957
commit 865e5b9592

View File

@ -34,8 +34,8 @@
/* u3h_node: map node.
*/
typedef struct {
c3_w map_w;
u3h_slot sot_w[0];
c3_w map_w; // bitmap for [sot_w]
u3h_slot sot_w[0]; // filled slots
} u3h_node;
/* u3h_root: hash root table
@ -54,8 +54,8 @@
/* u3h_buck: bottom bucket.
*/
typedef struct {
c3_w len_w;
u3h_slot sot_w[0];
c3_w len_w; // length of [sot_w]
u3h_slot sot_w[0]; // filled slots
} u3h_buck;
/** HAMT macros.