Original report by Anonymous.
On line 2178 of pg.c, rb_yield_splat is used in combination with rb_ary_new3 (http://bitbucket.org/ged/ruby-pg/src/eb0d4b1df418/ext/pg.c#cl-2178).
Wouldn't changing line 2178 to be:
rb_yield_values(3, relname, be_pid, extra);
make sense? It should be functionally equivalent and faster. Also, rb_yield_splat isn't supported by rubinius 1.1.1.
Original report by Anonymous.
On line 2178 of pg.c, rb_yield_splat is used in combination with rb_ary_new3 (http://bitbucket.org/ged/ruby-pg/src/eb0d4b1df418/ext/pg.c#cl-2178).
Wouldn't changing line 2178 to be:
rb_yield_values(3, relname, be_pid, extra);
make sense? It should be functionally equivalent and faster. Also, rb_yield_splat isn't supported by rubinius 1.1.1.