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.
In reply to Re: Re(6): Null objects in boolean context
by mirod
in thread Autoboxing: Yes or No?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |