Miguel de Icaza's web log

« One Day We Won't Know What To Do | Main | Weekend Movies »

Generics Improvements

Mark, the hacker behind Mono's CoreCLR Security implementation has committed to SVN the support for generic code sharing.

Generic code sharing allows the same native code generated by the JIT to be reused for more than one generic instantiation. This can be done when the JIT can ensure that the code generated for the given method would be exactly the same.

This optimization currently needs to be enabled with -O=gshared

Update: Mark blogged some details and clarifications

blog comments powered by Disqus

This is a personal web page. Things said here do not represent the position of my employer.