4 ms·
Re. the editor speedup, it should outright eliminate the "domain reload" thingy that happens because all of the C# needs to be unloaded and reloaded in response
by llmslave2 10mo ago
Re. the editor speedup, it should outright eliminate the "domain reload" thingy that happens because all of the C# needs to be unloaded and reloaded in response to a change.
- Rohansi 10mo agoPretty sure that will still be there? It'll be different because CoreCLR doesn't really have AppDomains but it will still need to unload old assemblies and reload them all again. That's the only reliable way to reset everything into a clean state.
- llmslave2 10mo agoBut only the assemblies that changed right? Or would it still be all of them?
- Rohansi 10mo agoNo, for a full domain reload it reloads everything. This forces all static variables to reset, makes static constructors run again, etc.
- benaadams 10mo agoAssemblyLoadContext.Unload https://learn.microsoft.com/en-us/dotnet/api/system.runtime.loader.assemblyloadcontext?view=net-10.0 https://learn.microsoft.com/en-us/dotnet/api/system.runtime....