Hi Again

Thank you very much for your help last time (2017).

I need to be able to get a value from a Judy1 array at random.

I'm extensively using the awesome features of Judy arrays like
automatically sorted, but I need to be able to select at random too for the
same data from time to time.

Do you have any suggestions about the best way to do this. I know I can
create an auxiliary structure using more memory and work independent of the
Judy array, i.e. a random map to the data. It would be nice to write a Judy
function that searches the radix-tree randomly instead, like Judy1First,
but instead of ending up at the first element, zipping around in the tree
at random when selecting.

I'm not a C master but generally figure things out eventually.

I would appreciate any help at all.

Thanks very much
Matt
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to