Skip to content

perf: cranelift-codegen-meta: use Vec::into_iter in ops_for_type - #14091

Open
dishmaker wants to merge 1 commit into
bytecodealliance:mainfrom
dishmaker:dishmaker/perf_cc_meta_ops_for_type
Open

perf: cranelift-codegen-meta: use Vec::into_iter in ops_for_type#14091
dishmaker wants to merge 1 commit into
bytecodealliance:mainfrom
dishmaker:dishmaker/perf_cc_meta_ops_for_type

Conversation

@dishmaker

Copy link
Copy Markdown
Contributor

-0.8% less llvm lines

Before:

  Lines                 Copies              Function name
  -----                 ------              -------------
  192891                4360                (TOTAL)
   10042 (5.2%,  5.2%)     1 (0.0%,  0.0%)  cranelift_codegen_meta[b743bf4194d43139]::shared::instructions::define
    3772 (2.0%,  7.2%)     1 (0.0%,  0.0%)  <cranelift_codegen_meta[b743bf4194d43139]::gen_isle::NumericOp>::ops_for_type

After:

  Lines                 Copies              Function name
  -----                 ------              -------------
  191189                4324                (TOTAL)
   10042 (5.3%,  5.3%)     1 (0.0%,  0.0%)  cranelift_codegen_meta[b743bf4194d43139]::shared::instructions::define
    2474 (1.3%,  6.5%)     1 (0.0%,  0.0%)  <cranelift_codegen_meta[b743bf4194d43139]::gen_isle::NumericOp>::ops_for_type
rustc -V
rustc 1.97.1 (8bab26f4f 2026-07-14)

@dishmaker
dishmaker requested a review from a team as a code owner August 8, 2026 14:01
@dishmaker
dishmaker requested review from alexcrichton and removed request for a team August 8, 2026 14:01
@github-actions github-actions Bot added cranelift Issues related to the Cranelift code generator cranelift:meta Everything related to the meta-language. labels Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:meta Everything related to the meta-language. cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant