Oh, sorry, I've updated the post to now indicate version 1 as the original version. A new symbol and/or construct which sends stronger optimization inferences to the compiler.
Thanks for the update. However, it is still unclear what kind of optimisation you are thinking of, and whether an optimisation hint would change any semantics. If it doesn't, I doubt there's much of an advantage over the current state of the art, compilers already optimise switch branching on primitive values with literal cases quite well.