I am looking at implementing a priority queue with an added requirement, a find/search function which will tell whether an item is anywhere within the queue. So the functions wi
Store your data in the fastest container you've tested and use a bloom filter to test if something is in the container.
I mated a bloom filter with a hash table in a previous project and it sped things up 400 times on hash tables with an average of roughly 10k items.
The bloom filter has a few interesting properties: