[Mono-dev] SHA256 - small perf boost
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
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...
More information about the Mono-devel-list