[Mono-list] Fwd: Optimization

Jonathan Lima greenboxal at gmail.com
Tue Dec 3 14:49:02 UTC 2013


Yes, compile time optimizations will vary, but only before code generation,
like removing unnecessary code paths, optimizing switches, ifs, loops etc.
During code generation the compiler might or might not know that using some
specific opcode might be faster in it target platform than other opcode for
doing the same thing, but I doubt that this occurs as the instruction set
is very small(compared to others) and this would be like micro optimization.


On Tue, Dec 3, 2013 at 12:40 PM, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:

>  I understand that there exist compile-time optimizations, and JIT
> optimizations.
>
> I understand that the compiled byte-code is platform agnostic.  But my
> question is...
>
>
>
> Is there any performance optimization impact caused by compiling on a
> different platform?  For example, it's very easy for me to imagine that MS
> might compile to byte code that contained optimizations that only improve
> performance on .NET.  It's very easy for me to imagine that the mono
> compiler would result in *different* optimizations, which may be better,
> worse, or sometimes better and sometimes worse.
>
>
>
> Thanks...
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>


-- 
Thanks,
Jonathan



-- 
Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20131203/b3340a90/attachment.html>


More information about the Mono-list mailing list