Skip to content

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Mar 20, 2025

vec_from_array is more efficient than vec_from_iter. We should always use vec_from_array where possible.

@github-actions github-actions bot added A-minifier Area - Minifier A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Mar 20, 2025
Copy link
Member Author

Dunqing commented Mar 20, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 20, 2025

CodSpeed Instrumentation Performance Report

Merging #9906 will not alter performance

Comparing 03-20-refactor_minifier_transformer_replace_vec_from_iter_with_vec_from_array_for_array (fbb268a) with main (7f06cec)

Summary

✅ 33 untouched benchmarks

@Dunqing Dunqing marked this pull request as ready for review March 20, 2025 06:57
@Dunqing Dunqing requested a review from overlookmotel as a code owner March 20, 2025 06:57
Copy link
Member

@overlookmotel overlookmotel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Mar 21, 2025
Copy link
Member

overlookmotel commented Mar 21, 2025

Merge activity

  • Mar 21, 4:41 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 21, 4:41 AM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 21, 4:55 AM EDT: A user merged this pull request with the Graphite merge queue.

…om_array` for array (#9906)

`vec_from_array` is more efficient than `vec_from_iter`. We should always use `vec_from_array` where possible.
@graphite-app graphite-app bot force-pushed the 03-20-refactor_minifier_transformer_replace_vec_from_iter_with_vec_from_array_for_array branch from 6748109 to fbb268a Compare March 21, 2025 08:43
@graphite-app graphite-app bot merged commit fbb268a into main Mar 21, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 03-20-refactor_minifier_transformer_replace_vec_from_iter_with_vec_from_array_for_array branch March 21, 2025 08:55
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-minifier Area - Minifier A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants