Skip to content

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

@k0kubun

Description

@k0kubun

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions