pinterest / PINCache

Fast, non-deadlocking parallel object cache for iOS, tvOS and OS X
Apache License 2.0
2.66k stars 361 forks source link

Check fileURL outside of the locked scope #262

Closed jparise closed 4 years ago

jparise commented 4 years ago

We can exit immediately when fileURL is invalid without acquiring and then releasing the write lock.