A short explanations (with benchmarks) of the good inlining of partially dynamic calls by Java HotSpot: http://www.javaspecialists.eu/archive/Issue158.html I think DMD may improve a little in such regard. Bye, bearophile