+
Skip to content

perf: resolve and map types in single pass #6319

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 1 commit into from
Jun 14, 2025

Conversation

arendjr
Copy link
Contributor

@arendjr arendjr commented Jun 14, 2025

Summary

In the module resolver, instead of first registering types from module 0 and then resolving them, we now do it in a single pass. This should be faster and we save a few unnecessary indirections from getting registered.

Unfortunately, I didn't see a significant reduction in total running time, but it still seems a small but worthwhile improvement.

Test Plan

Everything should stay green.

@arendjr arendjr requested review from a team June 14, 2025 10:17
@github-actions github-actions bot added the A-Project Area: project label Jun 14, 2025
@arendjr arendjr merged commit 22c7042 into biomejs:next Jun 14, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Project Area: project
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载