Thanks for all the comments! Veyron had told me a hastable would be a better idea. I have been reading about creating a perfect hash so I don't have to deal with collisions, although I'm (obviously) not the best algorithm guy. So that post may be coming soon.
I had thought that due to the extreme low latency that a hardware solution would be required. So that may be the next place to start experimenting.
I had thought that due to the extreme low latency that a hardware solution would be required. So that may be the next place to start experimenting.