Differences From Artifact [e3c9e370a2]:
- File src/OFSet.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 8528) [annotate] [blame] [check-ins using] [more...]
To Artifact [fd18f62182]:
- File
src/OFSet.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 8538) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
294 295 296 297 298 299 300 | if (set.count != self.count) return false; return [set isSubsetOfSet: self]; } | | | | | 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | if (set.count != self.count) return false; return [set isSubsetOfSet: self]; } - (unsigned long)hash { void *pool = objc_autoreleasePoolPush(); unsigned long hash = 0; for (id object in self) hash ^= [object hash]; objc_autoreleasePoolPop(pool); return hash; } - (OFString *)description |
︙ | ︙ |