From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id AB08C19C0064 for ; Thu, 12 Nov 2015 18:24:09 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 5AD6BB5D93E for ; Thu, 12 Nov 2015 18:54:00 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id C614218CC7F4 for ; Thu, 12 Nov 2015 18:54:00 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id EAC52120496; Thu, 12 Nov 2015 18:53:58 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by neon.ruby-lang.org (Postfix) with ESMTP id BAD5012046B for ; Thu, 12 Nov 2015 18:53:53 +0900 (JST) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6789B20322; Thu, 12 Nov 2015 09:53:52 +0000 (UTC) Date: Thu, 12 Nov 2015 09:53:52 +0000 From: Eric Wong To: Ruby developers Message-ID: <20151112095352.GA18063@dcvr.yhbt.net> References: <20151112020330.GA18224@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151112020330.GA18224@dcvr.yhbt.net> X-ML-Name: ruby-core X-Mail-Count: 71462 Subject: [ruby-core:71462] Re: [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Eric Wong wrote: > matz@ruby-lang.org wrote: > > I am OK with the change. I don't really like something like > > __read_nonblock, but acceptable. > > OK, committed as r52541 for now. I don't have a better idea > for hiding other than private + "__" prefix... > > Will followup with other IO/Socket/SSL methods Work-in-progress for rsock_s_recvfrom_nonblock-based methods. Likely to commit tomorrow... Minor nit, this may reduce startup performance slightly more than prelude.rb changes because the RDoc comment stays in socket.rb instead of getting dropped at compile time: http://80x24.org/spew/20151112-avoid-arg-parsing-in-rsock_s_recvfrom_nonblock@1/raw I also noticed I forgot to update some RDoc for r50912; will adjust in a separate commit.