Jarrett Billingsley: > Or you could - I dunno - cache the result of the dynamic cast in a > local, since doing multiple dynamic casts is terrible style anyway. > Just saying. ;) Yes, most of the optimizations done by the compiler can instead be done by the programmer (but some stupid code can be generated by macros, mixins, etc). Bye, bearophile