Hi
I am currently writing a message handling module which uses delegates. I am maintaining 2 vectors, one for message ids and the other one for the delegate (pointer to the function to be called). When I receive a message I check the first vector to get the indices for which the message id is registered. I pick the delegates @ the same indices from the second vector and invoke them.
Since there can be multiple methods registering for the same id, I cannot use maps or hashmaps. Will there be any major degradation in performance if I use multimaps?
Thanx in advance