Well, until now we were doing this rather implicit, but since Douglas
made some test results which differ widely per JVM implementation, the
answer to the question should probably be made explicit.
In the tests of which construct runs faster related to casts and class
cast exceptions, very widely differing results were attained between
Sun and IKVM JVMs (not surprising), but luckily the same construct ran
fastest in both JVMs. However, different constructs ran fastest in
Since the Sun JVM seems ubiquitous, my personal preference is to
optimize for Sun, keeping in mind that we want reasonable performance
on the other 2 JVMs.