From: Kenta Murata Date: 2011-04-11T06:32:43+09:00 Subject: [ruby-core:35689] Re: [Ruby 1.9 - Feature #4539][Assigned] Array#zip_with Hi, On 2011���4���10������������ at 11:56, Marc-Andre Lafortune wrote: > On Sat, Apr 9, 2011 at 4:29 AM, Kenta Murata wrote: > > I implemented the features in C, and wrote tests for them. > > Please see the following diffs: > > https://github.com/mrkn/ruby/commit/9c7ead0e385b6a17dafa5bc8b4389e1baf2e3040 > > Looks good, but is there a reason to use `rb_funcall` for the reduce? > Typically MRI calls directly the C implementation wherever possible, > and I would suggest doing that here too. Tee patch was updated: https://github.com/mrkn/ruby/commit/fef79bb11e7d1173e31ae7a6e5472ac10eac9316 This changes add a new public function of libruby, rb_enum_inject_with_symbol. So we should discuss whether the function is acceptible as a public function. -- Kenta Murata Sent with Sparrow