Graphviz 13.0.0~dev.20250121.0651
|
Data Fields | |
Agsubnode_t ** | slots |
backing store for elements | |
size_t | size |
number of elements in the set | |
size_t | capacity_exp |
logâ‚‚ size of slots | |
bool | min_initialized |
IDTYPE | min |
IDTYPE | max |
size_t graphviz_node_set::capacity_exp |
Definition at line 378 of file node.c.
Referenced by node_set_add(), and node_set_get_capacity().
IDTYPE graphviz_node_set::max |
Definition at line 389 of file node.c.
Referenced by node_set_add(), and node_set_find().
IDTYPE graphviz_node_set::min |
Definition at line 388 of file node.c.
Referenced by node_set_add().
bool graphviz_node_set::min_initialized |
the minimum and maximum ID of nodes that have been inserted into the set
These fields are used to optimize existence checks. node_set_find
can quickly return NULL
if the target node is outside the known range to have been inserted into the set. This seems niche, but negative queries like this are common enough that this is a measurable performance improvement.
Definition at line 387 of file node.c.
Referenced by node_set_add(), and node_set_find().
size_t graphviz_node_set::size |
Definition at line 377 of file node.c.
Referenced by node_set_add(), node_set_remove(), and node_set_size().
Agsubnode_t** graphviz_node_set::slots |
Definition at line 376 of file node.c.
Referenced by node_set_add(), node_set_find(), node_set_get_capacity(), and node_set_remove().