Differences From Artifact [76b22a5fc0]:
- File src/OFArray.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 18303) [annotate] [blame] [check-ins using] [more...]
To Artifact [3a99f337b3]:
- File
src/OFArray.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: 18308) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
511 512 513 514 515 516 517 | if (![[self objectAtIndex: i] isEqual: [otherArray objectAtIndex: i]]) return false; return true; } | | | 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | if (![[self objectAtIndex: i] isEqual: [otherArray objectAtIndex: i]]) return false; return true; } - (unsigned long)hash { uint32_t hash; OF_HASH_INIT(hash); for (id object in self) OF_HASH_ADD_HASH(hash, [object hash]); |
︙ | ︙ |