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

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991194]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2018-05-26 22:43 GMT
Find Nodes?
    Voting Booth?