ruby-core

Mailing list archive

[ruby-core:71253] Re: [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations

From: Юрий Соколов <funny.falcon@...>
Date: 2015-10-28 19:23:58 UTC
List: ruby-core #71253
MD5 is SLOW. It is just a bit faster than SHA1, and still very slow.
28 =D0=BE=D0=BA=D1=82. 2015 =D0=B3. 17:53 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=
=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Aaron Patterson" <
tenderlove@ruby-lang.org> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

> On Wed, Oct 28, 2015 at 09:07:17AM +0000, Eric Wong wrote:
> > =D0=AE=D1=80=D0=B8=D0=B9 =D0=A1=D0=BE=D0=BA=D0=BE=D0=BB=D0=BE=D0=B2 <fu=
nny.falcon@gmail.com> wrote:
> > > What's about other hashsum algos? MD5, SHA2, etc
> >
> > Not speaking for Aaron, but I assume he was just testing the waters
> > and would follow-up with additional changes once/if the SHA1 change
> > were refined and deemed acceptable.
>
> That's correct.  The patch has trade-offs, and I want to make sure we're
> all on the same page.
>
> > Anyways I think it's a good change; and even more beneficial to the
> > slower SHA2 variants.
>
> Right.  Another reason I didn't do them all.  I think (though I haven't
> tested) that md5 is fast enough that it might not be worthwhile in that
> case.
>
> --
> Aaron Patterson
> http://tenderlovemaking.com/
>

In This Thread

Prev Next