improbable-eng / phtree-cpp

PH-Tree C++ implementation by Improbable.
Apache License 2.0
22 stars 15 forks source link

An easy way to get the storage overhead of the PH-Tree? #13

Closed MaoZiming closed 2 years ago

MaoZiming commented 2 years ago

Hi all,

I want to ask if there is an easy way (like a function call) to obtain the storage overhead of the PH-Tree? Thank you!

Best, Ziming

tzaeschke commented 2 years ago

Not at the moment.

A couple of points first:

What can you do?

N.b. There is a method PhTreeDebugHelper::GetStats(tree)::GetCalculatedMemSize(). However, I think this never got really implemented so I think it simply returns the entry count, which is not helpful.

improbable-til commented 2 years ago

Please reopen if there are further questions.