2009-12-04 UPDATE: For profiling results on a number of the suggestions posted here, see below!
Consider the following very
Can we cast the ActivCode to int and then use int in our case statements?