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

Use fully qualified name to ensure uniqueness #5545

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

smoogipoo
Copy link
Contributor

Using fully qualified names seems to stop rider from reprocessing files. @peppy please re-test this. Performance may not be as good as with incremental generator, but still seems acceptable to me.

Using IIncrementalGenerator will take a bit more work.

@peppy
Copy link
Member

peppy commented Nov 25, 2022

When would lower performance be noticed? After making code changes?

@smoogipoo
Copy link
Contributor Author

Yeah, the same scenario as when processing files would trigger prior to this. It seems a little bit slower to me but I want your second opinion.

peppy added a commit to smoogipoo/osu-framework that referenced this pull request Nov 25, 2022
@peppy
Copy link
Member

peppy commented Nov 25, 2022

I've tested on two different PCs and cannot notice the overhead in a meaningful way. I think the CPU usage may be a bit higher but this is definitely usable 👍 .

@peppy peppy merged commit 6f46341 into ppy:master Nov 25, 2022
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.

2 participants