Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Problem serializing Net::Patricia object

by mbethke (Hermit)
on Sep 01, 2012 at 20:51 UTC ( #991194=note: print w/ replies, xml ) Need Help??


in reply to Problem serializing Net::Patricia object

A couple of years ago I created Net::CIDR::Lookup that does pretty much the same thing. Either it predated the other modules or I was too thick to find them at this time. While as a pure-Perl module it certainly can't compete with Net::Patricia's XS code, a quick look at Net::IPTrie tells me it would likely be a tad faster than the latter and certainly use less memory. Maybe that will do for now, at least for IPv4. The v6 version uses Bit::Vector which is XS itself though I seem to remember it had some serialization hook support.

I just uploaded V0.5 to CPAN that should be some 10-20% faster than the previous version on searches, BTW.


Comment on Re: Problem serializing Net::Patricia object

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-07-05 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls