Merge 02f12e8860
into 804110a487
This commit is contained in:
commit
449b1e48fc
|
@ -966,7 +966,7 @@ char *strEncoding(int encoding) {
|
|||
* to compress prefixes. */
|
||||
size_t streamRadixTreeMemoryUsage(rax *rax) {
|
||||
size_t size = sizeof(*rax);
|
||||
size = rax->numele * sizeof(streamID);
|
||||
size += rax->numele * sizeof(streamID);
|
||||
size += rax->numnodes * sizeof(raxNode);
|
||||
/* Add a fixed overhead due to the aux data pointer, children, ... */
|
||||
size += rax->numnodes * sizeof(long)*30;
|
||||
|
|
Loading…
Reference in New Issue