> This solution should be backwards compatible while improving performance. At > least, that's my guess. There is always the chance that the JIT is smart > enough to optimize away this comparison but I'd rather not rely on JIT > implementation details. I also believe the resulting code is more readable. > > What do you think?
>From the performance-overview theres no (real) difference I guess, but I have to agree that the code is more readable and cleaner. On the other hand its one more class that has to be shipped and loaded at startup. I like your approach, I just don't know the real pros and cons... lg Clemens
