[Mono-dev] JIT and Inlining - why doesn't it happen?
alan.mcgovern at gmail.com
Wed Apr 30 17:11:37 EDT 2008
I recently started doing a bit of optimisation work on the
hashing/cryptography classes in mono. When working on the managed SHA256
class, i noticed that mono isn't inlining what i'd consider some *very*
The helper methods which do the bitshifting (Ro0, Ro1, Ch, Maj etc) aren't
inlined! Each of these methods is only called once in the code. By manually
inlining those method calls, performance increased significantly - about
70%. Why isn't mono inlining these methods? Can mono be made inline these?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list