Commit 840a781b authored by Geoff Simmons's avatar Geoff Simmons

Document the new stats (setsz and nodesz).

parent 35ccc746
......@@ -859,8 +859,15 @@ The VMOD currently provides the following statistics:
* ``elements``: the number of elements in the set (added via
``.add()``)
* ``setsz``: the total size of the strings in the set -- the sum of
the lengths of all of the strings, including their terminating null
bytes
* ``nodes``: the total number of nodes in the internal data structure
* ``nodesz``: the size of a node in the internal data structure
(bytes)
* ``leaves``: the number of leaf nodes in the internal data structure.
There may be fewer leaf nodes than elements of the set, if the set
contains common prefixes.
......
......@@ -759,8 +759,15 @@ The VMOD currently provides the following statistics:
* ``elements``: the number of elements in the set (added via
``.add()``)
* ``setsz``: the total size of the strings in the set -- the sum of
the lengths of all of the strings, including their terminating null
bytes
* ``nodes``: the total number of nodes in the internal data structure
* ``nodesz``: the size of a node in the internal data structure
(bytes)
* ``leaves``: the number of leaf nodes in the internal data structure.
There may be fewer leaf nodes than elements of the set, if the set
contains common prefixes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment