http://qs321.pair.com?node_id=848446


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.