Obsidian
Obsidian copied to clipboard
Make source generators incremental
[...] the source generator will not scale to large projects without migration to the v2 (incremental) API. -.NET Team
SyntaxReceiver walks through all syntax trees every time source generators are invoked, which is VERY often. This can lead to a very bad development experience, your IDE may even hang. This problem occurs with larger repositories, which Obsidian is going to be at some point. The new APIs solve this performance problem.