------- Additional Comments From [hidden email] 2005-05-30 00:40 -------
I think the key observation for this issue (backed up by benchmarks and profiling) is that instanceOf
followed by cast is always faster, no matter which branch ends up being taken. It doesn't matter which use
cases might be more common than others, because it's always faster no matter what.