Skip to content
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

change ids from usize to u32 #8111

Merged
merged 1 commit into from
May 15, 2024
Merged

change ids from usize to u32 #8111

merged 1 commit into from
May 15, 2024

Conversation

sokra
Copy link
Member

@sokra sokra commented May 8, 2024

Description

reduces memory usage by ~10%

We never have more than 4 billion tasks

Closes PACK-3052

@sokra sokra requested a review from a team as a code owner May 8, 2024 10:04
Copy link

vercel bot commented May 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 10:14am
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 10:14am
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-designsystem-docs ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-gatsby-web ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-kitchensink-blog ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-native-web ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-svelte-web ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-tailwind-web ⬜️ Ignored (Inspect) May 8, 2024 10:14am
examples-vite-web ⬜️ Ignored (Inspect) May 8, 2024 10:14am

Copy link
Contributor

github-actions bot commented May 8, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented May 8, 2024

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented May 8, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

@bgw
Copy link
Member

bgw commented May 8, 2024

As discussed on Slack, it would be nice to have a panic-on-overflow, but otherwise LGTM, and 10% is a nice easy win!

@sokra sokra merged commit 635f484 into main May 15, 2024
48 of 50 checks passed
@sokra sokra deleted the sokra/smaller-ids branch May 15, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants