Does anyone know what I'd need to do in order to gain access to MemUsed()?
What happens if you try to call it?
I took a brief look at the code, and it looks buggy - in particular one of the three cases handled by pvtJudyHSMemUsedV accumulates a result in "sum" but never returns it, so you may get a random number (or worse) if you hit that case - but it should be callable, and if you're lucky your particular arrays won't hit that case.
Sadly the author last updated any of their (many) modules in 2014, so an update seems unlikely any time soon. If you're happy to run a patched version, I can provide a one-line fix for the obviously buggy case.
In reply to Re: Size of Judy::HS array: where is MemUsed()?
by hv
in thread Size of Judy::HS array: where is MemUsed()?
by kcott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |