nzhuk/SDURLCache — comment on commit 8a28620db9cabad16ab248450b61d4ff2e5d8e8d
File:  line 0
By nzhuk:

I disagree on this one, although of course each one can follow any style they like. Even if methods shouldn't be called with nil arguments, this is a very low-level, reusable library and one cannot really know which coding style the caller is using. It's not a performance issue at all. In any case, the library code shouldn't crash the app with null dereference even if nil is passed as a parameter ([nil UTF8String] will return a NULL pointer, which will cause a crash when it's dereferenced in CC_MD5).