This thread is a split from Database Optimization
So it sounds like the consensus is that storing them as INTs may be slightly more efficient, but not enough to go and change your code around for. Am I right?
Perk, you mentioned that you're moving your IP list into cache (I'm guessing shared mem?) to do your lookups. Care to elaborate on how this is done?
In case you can't tell, I was trained with the "don't worry about efficiency, worry about code completeness and readability" but unfortunately that doesn't scale.