Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ZJIT: Specialize #[] into an rb_hash_aref call if a profiled type is Hash #793

Copy link
Copy link
@k0kubun

Description

@k0kubun
Issue body actions

The interpreter inlines Hash#[] calls, but ZJIT doesn't. So enabling ZJIT would slow down ISEQs with Hash#[] calls. It should be at least as fast as what the interpreter does.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.