Skip to content

perf(es/fast-lexer): Add length-based fast path for keywords#10176

Merged
kdy1 merged 1 commit intomainfrom
kdy1/6
Mar 11, 2025
Merged

perf(es/fast-lexer): Add length-based fast path for keywords#10176
kdy1 merged 1 commit intomainfrom
kdy1/6

Conversation

@kdy1
Copy link
Copy Markdown
Member

@kdy1 kdy1 commented Mar 10, 2025

Description:

I'm not sure if this would be faster, but AI suggested to do it.

@kdy1 kdy1 added this to the Planned milestone Mar 10, 2025
@kdy1 kdy1 self-assigned this Mar 10, 2025
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 10, 2025

⚠️ No Changeset found

Latest commit: 945ee08

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 10, 2025

CodSpeed Performance Report

Merging #10176 will improve performances by 3.04%

Comparing kdy1/6 (945ee08) with main (be60338)

Summary

⚡ 1 improvements
✅ 151 untouched benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
es/fast-lexer/backbone 1.2 ms 1.2 ms +3.04%

@kdy1 kdy1 marked this pull request as ready for review March 11, 2025 00:59
@kdy1 kdy1 requested a review from a team as a code owner March 11, 2025 00:59
@kdy1 kdy1 merged commit 1f70af8 into main Mar 11, 2025
@kdy1 kdy1 deleted the kdy1/6 branch March 11, 2025 00:59
@kdy1 kdy1 modified the milestones: Planned, v1.11.9 Mar 12, 2025
@swc-project swc-project locked as resolved and limited conversation to collaborators Apr 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant