Compiling the whole whois-common takes about 2 seconds. I don't see much benefit in optimizing this script over and over.