[SOLVED] How to efficiently search for keys with values in a map

Cheers man, and thanks for providing a code example.