Re: Proposal for improving performance of TreeMap and others

2008-01-07 Thread cowwoc
I guess you're right. It is probably as likely that the JIT will optimize away the null check as it is that it will optimize away the NullPointerException check. One exception, though, is when production systems run using -Xverify:none. In such a case, wouldn't my approach run faster? I still

Re: Proposal for improving performance of TreeMap and others

2008-01-07 Thread Rémi Forax
Clemens Eisserer a écrit : Hi cowwoc, I guess you're right. It is probably as likely that the JIT will optimize away the null check as it is that it will optimize away the NullPointerException check. One exception, though, is when production systems run using -Xverify:none. In such a case,