Differences From Artifact [59c9aa82a8]:
- File
src/OFSet_hashtable.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 5909) [annotate] [blame] [check-ins using]
To Artifact [c432fef8fb]:
- File src/OFSet_hashtable.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 5946) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
239 240 241 242 243 244 245 246 247 248 249 250 251 252 | return ([_mapTable objectForKey: object] != nil); } - (bool)isEqual: (id)object { OFSet_hashtable *set; if (![object isKindOfClass: [OFSet_hashtable class]] && ![object isKindOfClass: [OFMutableSet_hashtable class]] && ![object isKindOfClass: [OFCountedSet_hashtable class]]) return [super isEqual: object]; set = object; | > > > | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | return ([_mapTable objectForKey: object] != nil); } - (bool)isEqual: (id)object { OFSet_hashtable *set; if (object == self) return true; if (![object isKindOfClass: [OFSet_hashtable class]] && ![object isKindOfClass: [OFMutableSet_hashtable class]] && ![object isKindOfClass: [OFCountedSet_hashtable class]]) return [super isEqual: object]; set = object; |
︙ | ︙ |