Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: need help with judy array searching

by eyepopslikeamosquito (Bishop)
on Dec 16, 2020 at 00:17 UTC ( #11125269=note: print w/replies, xml ) Need Help??


in reply to need help with judy array searching

I'm assuming that whoever wrote these Perl Judy scripts in the first place has now left your company, and without providing a comprehensive handover. Am I close?

You've asked two questions now on Judy arrays and neither has convinced me you have the technical chops required to take over this project. Maybe it's time to step back and look at the bigger picture. Do you really really need the performance boost that Judy arrays provide? Is this required performance boost clearly documented? Are benchmarks provided demonstrating why? Is there a strong business case? Or was it just a fun project to play with by a clever former employee?

If you don't really need the performance boost of Judy arrays, you might consider converting the code to simply use Perl hashes instead because that would make long term code maintenance easier for your company as employees come and go over time.

Having said that, the Judy array code looks like it was written by an expert (Doug Baskins) and appears to be very stable ... still, you may struggle to get quick support if you hit a bug.

BTW, one quote from the infamous BrowserUk scared me:

A supersearch for my name and judy arrays will turn up a compact, single file version of the Judy array code that compiled clean and worked very well for that application. Still slower than hashes, but far more compact. Just hope you don't find any bugs, because the Judy code is horribly complex.

Having got that off my chest, I find high performance fun, and I've never used Judy arrays, so I've put together some basic references below that I might play with later when I get more time.

BrowserUk on Judy arrays:

Judy arrays on PM:

Judy arrays on CPAN:

  • Comment on Re: need help with judy array searching

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11125269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-03-02 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (36 votes). Check out past polls.

    Notices?