[Mono-dev] SHA256 - small perf boost

Alan McGovern alan.mcgovern at gmail.com
Wed Apr 30 19:01:43 EDT 2008

> Looks great. I too wonder why they are not inlined (or if they were at
one time).

It turns out mono only inlines a method if it's body is 20 bytes or less.
None of the helper functions met this requirement (unfortunately) so they
never got inlined.

You may want to check SHA384/512 which are near identical (between them)
> and looks a lot like SHA256

I'm slowly working my way through the classes and applying the same changes
as i go. If you know certain classes are more important than others (i.e.
used internally in the runtime or used extensively in other code), i could
check through them next rather than just randomly selecting one i haven't
looked at and seeing what i can do there.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080501/3c906b78/attachment.html 

More information about the Mono-devel-list mailing list