AFAIK are Judy arrays sorted hashes, so I'd say they define a search interval.
I'd suggest you try this out, and try to give us feedback.
Yep!
From the test suite mentioned in Re: need help with Tie::Judy
# test search method $obj->insert ( foo => 4, food => 5, fop => 6 ); # no args, returns all keys is_deeply([$obj->search], ['foo', 'food', 'fop']); # test min_key and max_key independently is_deeply([$obj->search(min_key => 'food')], ['food', 'fop']); is_deeply([$obj->search(max_key => 'food')], ['foo', 'food']);
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: need help with judy array searching (updated)
by LanX
in thread need help with judy array searching
by expo1967
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |