8000 refactor(parser): rewrite arrow function parsing to remove rewind in hot paths by camchenry · Pull Request #11483 · oxc-project/oxc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor(parser): rewrite arrow function parsing to remove rewind in hot paths #11483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

camchenry
Copy link
Member
@camchenry camchenry commented Jun 4, 2025

This is a major work-in-progress. May not even be merged.

@github-actions github-actions bot added A-parser Area - Parser C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jun 4, 2025
Copy link
Member Author

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.

@camchenry camchenry force-pushed the 06-04-refactor_parser_rewrite_arrow_function_parsing_to_be_lookahead-free branch from 86d49d5 to d253194 Compare June 4, 2025 17:39
@Boshen
Copy link
Member
Boshen commented Jun 5, 2025

Best chance is to avoid rewind on hot path such as () => {}, x => {}, (x) => {} etc

@camchenry camchenry closed this Jun 5, 2025
@camchenry camchenry reopened this Jun 6, 2025
@camchenry camchenry force-pushed the 06-04-refactor_parser_rewrite_arrow_function_parsing_to_be_lookahead-free branch from d253194 to 44f8db0 Compare June 6, 2025 03:44
@camchenry camchenry changed the title refactor(parser): rewrite arrow function parsing to be lookahead-free refactor(parser): rewrite arrow function parsing to remove rewind in hot paths Jun 6, 2025
@camchenry camchenry force-pushed the 06-04-refactor_parser_rewrite_arrow_function_parsing_to_be_lookahead-free branch from 44f8db0 to 7efbae9 Compare June 7, 2025 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-parser Area - Parser 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
0