Skip to content

refactor(swc_common): Use swc_sourcemap instead #10593

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

Merged
merged 16 commits into from
Jun 10, 2025
Merged

refactor(swc_common): Use swc_sourcemap instead #10593

merged 16 commits into from
Jun 10, 2025

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 9, 2025

Description:

swc_sourcemap uses ByteStr for source contents, which is identical to swc_common. So we can avoid reallocating source code strings.

Related issue:

@kdy1 kdy1 added this to the Planned milestone Jun 9, 2025
@kdy1 kdy1 self-assigned this Jun 9, 2025
Copy link

changeset-bot bot commented Jun 9, 2025

⚠️ No Changeset found

Latest commit: 457f252

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

Copy link

codspeed-hq bot commented Jun 9, 2025

CodSpeed Performance Report

Merging #10593 will not alter performance

Comparing kdy1/srcmap-fork (457f252) with main (de667bb)

Summary

✅ 140 untouched benchmarks

@kdy1 kdy1 changed the title refactor(swc_common): Use forked version of sourcemap refactor(swc_common): Use swc_sourcemap instead of sourcemap Jun 9, 2025
@kdy1 kdy1 changed the title refactor(swc_common): Use swc_sourcemap instead of sourcemap refactor(swc_common): Use swc_sourcemap instead Jun 9, 2025
@kdy1 kdy1 marked this pull request as ready for review June 10, 2025 14:33
@kdy1 kdy1 requested review from a team as code owners June 10, 2025 14:33
kodiakhq[bot]
kodiakhq bot previously approved these changes Jun 10, 2025
@kdy1 kdy1 enabled auto-merge (squash) June 10, 2025 14:33
kodiakhq[bot]
kodiakhq bot previously approved these changes Jun 10, 2025
@kdy1 kdy1 disabled auto-merge June 10, 2025 15:43
@kdy1 kdy1 merged commit 8a9f609 into main Jun 10, 2025
168 checks passed
@kdy1 kdy1 deleted the kdy1/srcmap-fork branch June 10, 2025 15:44
@kdy1 kdy1 modified the milestones: Planned, v1.12.0 Jun 10, 2025
@swc-project swc-project locked as resolved and limited conversation to collaborators Jul 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy