> -----Original Message----- > From: Finn Bock [mailto:[EMAIL PROTECTED] > <snip /> > public static void testInstanceOf(Prop prop) { > for (int i = ITERS; i >= 0; i--) { > boolean x = prop.getString() != null; > } > } > > public static void testCall(Prop prop) { > for (int i = ITERS; i >= 0; i--) { > boolean x = prop instanceof StringProp; > } > } >
I'd swap either the method names or the contained expressions to get dependable results (typo? Don't know if it's exactly the same code you ran to get the test-results... or am I missing the point? --happens all too often, I'm afraid.) Cheers, Andreas