Project

General

Profile

Actions

Feature #13544

closed

Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE

Added by sam.saffron (Sam Saffron) almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:80996]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0