in reply to Re(6): Null objects in boolean context
in thread Autoboxing: Yes or No?

I might also add that null objects should be the exception rather than the rule, thus the performance impact should be minimal (I hope).

I haven't benchmarked overloading in a while, but as far as I remember, just using it caused quite a huge performance hit in the rest of the code. IIRC something like 30% slower, with 5.6.0. Things might have changed since then though.

  • Comment on Re: Re(6): Null objects in boolean context