Markus Schaber wrote:
> I also think that the current setObject(int, Object) using an 13-branch
> if(instanceof)-else construct could be sped up by this - of course, at
> the cost of creating the appropriate factory classes.
'instanceof' is such a common VM operation (it's implied by every cast)
that I'd expect it to be pretty fast. Is a hashmap lookup actually
faster than an inlined multibranch 'if' for the number of comparisons we do?
-O