resharper-unity icon indicating copy to clipboard operation
resharper-unity copied to clipboard

Consider conditions and log messages for expensive function analysis

Open oxysoft opened this issue 4 years ago • 0 comments

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.

oxysoft avatar Jul 22 '21 18:07 oxysoft