From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS47066 71.19.144.0/20 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.raindrops.general Subject: Re: [PATCH] linux_inet_diag: improve compatibility with newer GCs Date: Sat, 31 Aug 2013 06:02:51 +0000 Message-ID: <20130831060251.GA4698@dcvr.yhbt.net> References: <20130616205925.GA5569@dcvr.yhbt.net> <20130616205925.GA5569@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1377928980 22124 80.91.229.3 (31 Aug 2013 06:03:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Aug 2013 06:03:00 +0000 (UTC) To: raindrops@librelist.org Original-X-From: raindrops@librelist.org Sat Aug 31 08:03:04 2013 Return-path: Envelope-to: gclrrg-raindrops@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: raindrops@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.raindrops.general:119 Archived-At: Received: from zedshaw2.xen.prgmr.com ([71.19.156.177]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VFeH2-0002dp-Ht for gclrrg-raindrops@m.gmane.org; Sat, 31 Aug 2013 08:03:04 +0200 Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 4004D74C0A for ; Sat, 31 Aug 2013 06:11:42 +0000 (UTC) Eric Wong wrote: > RARRAY_PTR is expensive with GCs in Ruby 2.1.0dev and Rubinius, so > use rb_ary_entry for non-performance critical paths. Eventually, > RARRAY_AREF/RARRAY_ASET may be common, but for now, using > rb_ary_entry should require the least cognitive overhead for a > developer. > --- > Pushed to "gc-next" of git://bogomips.org/raindrops.git Cherry-picked into master, will release 0.12.0 this weekend unless there are objections.