I don't use instanceof. Instead I use an int value indicating type. int comparison is cheaper than reflection or instanceof.
Still using "if" statements is also slow so you should use them only when you need them. You can often replace the if chain with an an extended method of the same name.
if(o.type == o2.type)