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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -