You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just FYI, the incremental pipeline of the source generator is completely broken (as in, it's not incremental at all). This will have awful performance, as source files will be recomputed for every single edit. Additionally, this will unnecessarily root compilation objects, increasing memory use.
You should never have any compilations or symbols in any steps of your incremental pipelines, and especially in output steps. Those objects are not equatable and not meant to be used this way.
The text was updated successfully, but these errors were encountered:
Thank you for taking the time to look at that.
I will look at it, I think I was not totally aware of all of this when i made the switch from the old model to the incremental model, so it does not suprise me that I did not made the right code.
Just FYI, the incremental pipeline of the source generator is completely broken (as in, it's not incremental at all). This will have awful performance, as source files will be recomputed for every single edit. Additionally, this will unnecessarily root compilation objects, increasing memory use.
The problematic line is this (among others):
AutoConstructor/src/AutoConstructor.Generator/AutoConstructorGenerator.cs
Line 36 in b6d4d3d
You should never have any compilations or symbols in any steps of your incremental pipelines, and especially in output steps. Those objects are not equatable and not meant to be used this way.
The text was updated successfully, but these errors were encountered: