fast way for finding GUIDs.
Posted
by Behrooz
on Stack Overflow
See other posts from Stack Overflow
or by Behrooz
Published on 2010-03-24T13:49:35Z
Indexed on
2010/03/24
13:53 UTC
Read the original article
Hit count: 124
hi.
I have lots(+2000) of GUIDs(in some network class) and my program must find one of them when it receives a message and do the job associated with it.
the positive point is i have a hard-code generator, but the fastest way is my goal(and i don't know how to implement it).
my code should do something like this:
switch(received guid)
{
case guid1: do job 1; break;
case guid2: do job 2; break;
case guid3: do job 3; break;
case guid4: do job 4; break;
....
}
© Stack Overflow or respective owner