Skip to content

Comments

Use hidden iseq functions#448

Merged
ko1 merged 3 commits intomasterfrom
use_hidden_iseq_functions
Dec 18, 2021
Merged

Use hidden iseq functions#448
ko1 merged 3 commits intomasterfrom
use_hidden_iseq_functions

Conversation

@ko1
Copy link
Collaborator

@ko1 ko1 commented Dec 18, 2021

No description provided.

ko1 added 3 commits December 19, 2021 00:56
Introduce `ISeq#parameters_symbols` which returns parameter names
in Symbols. Remove `ISeq#argc` and `ISeq#locals` because they are
used to implement `ISeq#parameters_symbols`.
Use the following C-APIs if available:

* rb_iseq_parameters
* iseq_code_location
* rb_iseq_type (from Ruby 3.1)
@ko1 ko1 merged commit 3571a19 into master Dec 18, 2021
@ko1 ko1 deleted the use_hidden_iseq_functions branch December 18, 2021 21:22
@st0012
Copy link
Member

st0012 commented Dec 18, 2021

Is this for performance gain?

@ko1
Copy link
Collaborator Author

ko1 commented Dec 20, 2021

Yes. Not measured though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants