LinqGen icon indicating copy to clipboard operation
LinqGen copied to clipboard

Incremental generator implementation

Open laicasaane opened this issue 2 years ago • 2 comments
trafficstars

Since the support for Microsoft.CodeAnalysis.CSharp 4.1.0 has been added to Unity 2022.2+, could you start working on incremental generator? Thanks.

laicasaane avatar Jun 17 '23 05:06 laicasaane

I've double-checked it and found out that Microsoft.CodeAnalysis.CSharp 4.1.0 have already been supported for Unity 2021.3.26f1.

laicasaane avatar Jun 17 '23 07:06 laicasaane

I'd like to second wanting LinqGen to be an incremental source generator. I know it will be a large undertaking, but currently with it being a first gen non-incremental source generator, it causes very large projects to lag Visual Studio in most aspects and is very unworkable at that point. I've been trying to benchmark LinqGen against a lot of other LINQ implementations and as said project is very, very large due to the number of benchmarks, just adding a LinqGen to the project reduces functionality of Visual Studio by a lot.

CyberBotX avatar Jul 05 '23 04:07 CyberBotX