Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Storing and searching sets of IP address ranges

by acferen (Sexton)
on Jul 07, 2010 at 12:47 UTC ( [id://848446]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Storing and searching sets of IP address ranges
in thread Storing and searching sets of IP address ranges

I like this as a quick way to get something working, but I think I may ultimately need to go with your first suggestion and change the operators. I already have IP addresses as 4/16 byte entities so changing the operators will save [un]pack calls for each lookup.

Thanks,
-Andrew

  • Comment on Re^3: Storing and searching sets of IP address ranges

Replies are listed 'Best First'.
Re^4: Storing and searching sets of IP address ranges
by ikegami (Patriarch) on Jul 07, 2010 at 15:47 UTC
    It's not using unpack that's gonna slow down that solution, it's using overloaded operators.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-18 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found