Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Mar 13, 2025

In transformer, and similar places, our convention is to import oxc_allocator::Box as ArenaBox and oxc_allocator::Vec as ArenaVec - to help distinguish between std's Box / Vec, and their arena-allocated equivalents.

Make that change in one place in oxc_traverse.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Mar 13, 2025
Copy link
Member Author

overlookmotel commented Mar 13, 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.

@overlookmotel overlookmotel marked this pull request as ready for review March 13, 2025 14:16
@overlookmotel overlookmotel changed the base branch from 03-13-refactor_traverse_add_traversectx_insert_scope_below_statements_ to graphite-base/9759 March 13, 2025 14:18
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 13, 2025

CodSpeed Performance Report

Merging #9759 will not alter performance

Comparing 03-13-refactor_traverse_use_arenabox_alias (1d60e85) with main (bda4b9a)

Summary

✅ 33 untouched benchmarks

@overlookmotel overlookmotel force-pushed the 03-13-refactor_traverse_use_arenabox_alias branch from 0bd9410 to ade8e8c Compare March 13, 2025 14:24
@overlookmotel overlookmotel changed the base branch from graphite-base/9759 to main March 13, 2025 14:25
@overlookmotel overlookmotel force-pushed the 03-13-refactor_traverse_use_arenabox_alias branch from ade8e8c to 9b78faf Compare March 13, 2025 14:25
@overlookmotel
Copy link
Member Author

Just renaming, so merging without review.

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

overlookmotel commented Mar 13, 2025

Merge activity

  • Mar 13, 12:46 PM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 13, 12:46 PM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 13, 12:52 PM EDT: A user merged this pull request with the Graphite merge queue.

In transformer, and similar places, our convention is to import `oxc_allocator::Box` as `ArenaBox` and `oxc_allocator::Vec` as `ArenaVec` - to help distinguish between `std`'s `Box` / `Vec`, and their arena-allocated equivalents.

Make that change in one place in `oxc_traverse`.
@graphite-app graphite-app bot force-pushed the 03-13-refactor_traverse_use_arenabox_alias branch from 9b78faf to 1d60e85 Compare March 13, 2025 16:47
@graphite-app graphite-app bot merged commit 1d60e85 into main Mar 13, 2025
26 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 13, 2025
@graphite-app graphite-app bot deleted the 03-13-refactor_traverse_use_arenabox_alias branch March 13, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants