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

perf(turbopack): Use ResolvedVc for turbopack-core #73065

Open
wants to merge 87 commits into
base: canary
Choose a base branch
from

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Nov 21, 2024

What?

Use ResolvedVc<T> instead of Vc<T> for struct fields in turbopack-core

Why?

How?

@kdy1 kdy1 self-assigned this Nov 21, 2024
@ijjk ijjk added the created-by: Turbopack team PRs by the Turbopack team. label Nov 21, 2024
@kdy1 kdy1 marked this pull request as ready for review November 25, 2024 10:55
@kdy1 kdy1 requested a review from bgw November 25, 2024 10:55
@@ -11,10 +11,10 @@ use crate::ident::AssetIdent;

#[turbo_tasks::value(shared)]
pub struct AnalyzeIssue {
pub severity: Vc<IssueSeverity>,
pub severity: ResolvedVc<IssueSeverity>,
pub source_ident: Vc<AssetIdent>,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't use ResolvedVc<T> here because of emit function implementation in the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
created-by: Turbopack team PRs by the Turbopack team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants