Ruby 2.0 Bytecode Export / Import

前端 未结 2 2059
囚心锁ツ
囚心锁ツ 2021-02-14 14:32

I\'ve been reading about the new ruby 2.0 features, and found that it will support bytecode import / export:

Ruby 2.0 is expected to make it simple to sav

2条回答
  •  离开以前
    2021-02-14 15:17

    Unfortunately it looks like the verifier didn't get implemented in 2.0-p0, and as a result the load functionality is still commented out (from iseq.c, line 2260):

    /* disable this feature because there is no verifier. */
    /* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */
    

提交回复
热议问题