[ASWeakSet] Refactor to use NSHashTable (#1976)

[ASWeakSet] Tweak it

[ASWeakSet] Simplify
This commit is contained in:
Adlai Holler
2016-07-24 15:31:09 -07:00
committed by appleguy
parent 304df12f71
commit a79c69a5f1
2 changed files with 16 additions and 31 deletions

View File

@@ -35,10 +35,9 @@ NS_ASSUME_NONNULL_BEGIN
- (NSArray *)allObjects;
/**
How many objects are contained in this set.
* How many objects are contained in this set.
NOTE: This method is O(N). Consider using the `empty`
property.
* NOTE: This computed property is O(N). Consider using the `empty` property.
*/
@property (nonatomic, readonly) NSUInteger count;