resharper-unity
resharper-unity copied to clipboard
Consider conditions and log messages for expensive function analysis
In my code I have a lot of patterns like this:
if (condition) {
logerror("Bad input")
return
}
Which makes a lot of my function appear as expensive. It would clean up the output these could be omitted from expensive.