Skip to content

ZJIT: Optimize opt_aref #775

Description

@k0kubun

opt_aref shows up as the top "not optimized instructions" on lobsters, which means we often use dynamic dispatch for #[] method calls.

We should:

  1. Check which classes are used by opt_aref but not specialized by try_rewrite_aref
    • I bet most of them are Hash on Rails benchmarks, and some Integer on optcarrot, but it's the kind of thing to be confirmed here.
  2. Optimize the un-optimized classes that appear most frequently

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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