The following patch perform simple devirtualization based on the sealed flag of methods and types.
The patch makes pystone 4% faster with IronPython 2.0 and 1% faster with IronPython 1.0. It should improve other benchmarks as well, since it main contribution is statically dispatching delegate.Invoke. To provide more broad results a sse pass that perform type propagation is needed. The only thing I'm not sure about this patch is if it should handle remoting wrappers is some sort of way.
devirt.patch
Description: Binary data
devirtualization.cs
Description: Binary data
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list