From: Joseph Jones Date: 2015-12-17T21:06:57-07:00 Subject: [ruby-core:72291] Re: [Ruby trunk - Feature #11339] [Open] [PATCH] io.c: avoid kwarg parsing in C API --56738661_23f9c13c_16c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Joseph Jones liked your message with Boxer. On December 1, 2015 at 19:23:= 44 MST, Eric Wong wrote:normalperson=40yhbt.net= wrote:> https://bugs.ruby-lang.org/issues/11339=46or OpenSSL connect=5Fn= onblock/accept=5Fnonblock, it seems to be not worththe effort for a 1% im= provement given the overheads of various parts ofOpenSSL. But I'm also no= t knowledgeable in OpenSSL, so my benchmark isalso likely bogus: http://8= 0x24.org/spew/20151202020654.18328-1-e%4080x24.org/Additionally, for read= =5Fnonblock; calling read=5Fnonblock/sysreadvia rb=5Ffuncall from inside = ossl=5Fssl=5Fread=5Finternal would also requiremore work to avoid the has= h allocation. Not sure if it's worththe effort at the moment. --56738661_23f9c13c_16c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Joseph Jones liked your message with Boxer.


= On December 1, 2015 at 19:23:44 MST, Eric Wong <normalperson=40yhbt.ne= t> wrote:
normalper= son=40yhbt.net wrote:
> https://bugs.ruby-lang.org/issues/11339

=46or OpenSSL connect=5Fnonblock/accept=5Fnonblock, it seems to be= not worth
the effort for a 1% improvement given the overheads of va= rious parts of
OpenSSL. But I'm also not knowledgeable in OpenSSL, = so my benchmark is
also likely bogus:

http://80x24.org/= spew/20151202020654.18328-1-e%4080x24.org/

Additionally, for r= ead=5Fnonblock; calling read=5Fnonblock/sysread
via rb=5Ffuncall fro= m inside ossl=5Fssl=5Fread=5Finternal would also require
more work t= o avoid the hash allocation. Not sure if it's worth
the effort at t= he moment.
--56738661_23f9c13c_16c--