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
Post a Comment