[ruby-core:80996] [Ruby trunk Feature#13544] Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE

From: sam.saffron@...
Date: 2017-05-04 18:35:04 UTC
List: ruby-core #80996
Issue #13544 has been reported by sam.saffron (Sam Saffron).

----------------------------------------
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

* Author: sam.saffron (Sam Saffron)
* Status: Open
* Priority: Normal
* Assignee: 
* 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next