I have a method which checks an NSData's value as follows:
if (data == nil) {
//Method
}
But despite all of the stuff inside the method, it turns out that over 80% of the time is spent on the first line, checking if the data is equal to nil. Is there a more efficient way to do this?