Hello, I'm curious if there is value in adding a second .lookup signature to support integer IPs. I'm using pyasn in a Spark job, looking up a large number of IPs in a job (1B+), where passing 32bit ints around the cluster will be very beneficial instead of string IPs.
I could convert in Python before calling .lookup() but doing the int->str conversion in the underlying C would obviously be faster.
Any interest in this? If so, I'd be willing to work on a PR.
Hello, I'm curious if there is value in adding a second .lookup signature to support integer IPs. I'm using
pyasn
in a Spark job, looking up a large number of IPs in a job (1B+), where passing 32bit ints around the cluster will be very beneficial instead of string IPs.I could convert in Python before calling
.lookup()
but doing the int->str conversion in the underlying C would obviously be faster.Any interest in this? If so, I'd be willing to work on a PR.