The comparision method isn't the fastest one. For lookup heavy maps I would sugguest the use of a hashmap instead.
But I kinda like the idea of using some big, fancy guids.
Do you really need a global, unique id here ? What's wrong with a 32bit or 64bit application unique id ? It would be a lot faster and would make it even more useful in combination with a hashmap. Looks a little bit like over-engineering to me
Thanks for your input. Yeah, I have been over-engineering. It's probably because I've become so accustomed to these 128bit guids at work that I feel like I should be using those too. But you're absolutely right - less will definitely suffice. I'll moderate this, and overhaul this communicator thing with hashmaps and shorter uids.
I only want them to be unique application-wide, after all.