From: ko1@... Date: 2017-05-04T20:39:06+00:00 Subject: [ruby-core:80998] [Ruby trunk Feature#13544][Closed] Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE Issue #13544 has been updated by ko1 (Koichi Sasada). Status changed from Open to Closed Assignee set to ko1 (Koichi Sasada) I agree. mruby has such feature and CRuby also implement it. For example, we should use it for rubygems and didyoumean gem which loaded at all load-time. I close it and will make new ticket when I (or someone smart) make this feature. ---------------------------------------- Feature #13544: Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE https://bugs.ruby-lang.org/issues/13544#change-64659 * Author: sam.saffron (Sam Saffron) * Status: Closed * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Target version: ---------------------------------------- Currently the only way to load an InstructionSequence is to load the data into a Ruby RVALUE and then pass it to #load_from_binary This is inefficient as it forces one extra potentially very large RVALUE slot. It would be nice if c extensions could load an instruction sequence directly from c buffer. -- https://bugs.ruby-lang.org/ Unsubscribe: