Differences From Artifact [4b2eb176eb]:
- File
src/OFDictionary_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: 9173) [annotate] [blame] [check-ins using]
To Artifact [03c2ec717a]:
- File src/OFDictionary_hashtable.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 9187) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
306 307 308 309 310 311 312 | } - (size_t)count { return [_mapTable count]; } | | | > > > | | | | | | 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | } - (size_t)count { return [_mapTable count]; } - (bool)isEqual: (id)object { OFDictionary_hashtable *dictionary; if (object == self) return true; if (![object isKindOfClass: [OFDictionary_hashtable class]] && ![object isKindOfClass: [OFMutableDictionary_hashtable class]]) return [super isEqual: object]; dictionary = (OFDictionary_hashtable *)object; return [dictionary->_mapTable isEqual: _mapTable]; } - (bool)containsObject: (id)object { return [_mapTable containsObject: object]; } |
︙ | ︙ |