[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66289] Re: Creation/Conversion methods/functions table for Ruby types
— Eric Wong <normalperson@...>
2014/11/14
SASADA Koichi <[email protected]> wrote:
[#66293] Re: Creation/Conversion methods/functions table for Ruby types
— SASADA Koichi <ko1@...>
2014/11/14
On 2014/11/15 7:44, Eric Wong wrote:
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66476] Re: [ruby-trunk - Feature #8543] rb_iseq_load
From:
Eric Wong <normalperson@...>
Date:
2014-11-26 08:09:21 UTC
List:
ruby-core #66476
nop; nop works, but I don't think it's an improvement (or regression). I prefer to save 2 words entirely. I planned to workaround the issue by doing ISeq#load twice: first = iseq.to_a # useless jump|nop here junk = ISeq.load(first) # second pass optimization removes jump|nop a = ISeq.load(junk.to_a) b = ISeq.load(a.to_a) assert_equal a, b But I encountered other bugs with to_a + load on test/ruby/test_io.rb and test_settracefunc.rb which I have not investigated, yet... Works-in-progress: [PATCH 1/2] http://80x24.org/spew/m/iseq_calc_param_size%40r48578.txt [PATCH 2/2] http://80x24.org/spew/m/rb_iseq_load_fix-v4%40r48578.txt