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
LoadAll currently looks roughly like the following:
foreach(varassemblyinAppDomain.CurrentDomain.GetAssemblies()){foreach(vartypeinassembly.GetTypes()){foreach(varfieldintype.GetFields(){// Do stuff}}}
Instead of checking all assemblies it might be better to only check Assembly-CSharp. That would likely work in most cases. But the current code should work in all cases.
I'm open to suggestions on how to improve this. I'm not actually sure it matters. It'd be useful to have benchmark numbers for a large project.
The text was updated successfully, but these errors were encountered:
LoadAll
currently looks roughly like the following:Instead of checking all assemblies it might be better to only check
Assembly-CSharp
. That would likely work in most cases. But the current code should work in all cases.I'm open to suggestions on how to improve this. I'm not actually sure it matters. It'd be useful to have benchmark numbers for a large project.
The text was updated successfully, but these errors were encountered: