ios - NSDate as Dictionary Key -


what real probability of using nsdate().timeintervalsince1970 key in dictionary conflicting? i.e.

let key1 = nsdate().timeintervalsince1970 let key2 = nsdate().timeintervalsince1970 

the above should work unique keys, if key2 called on separate thread @ right moment?

is there locking on internals of nsdate prevent 1 in million error?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -