Differences From Artifact [c57b8a6b12]:
- File
src/OFString.m
— part of check-in
[301ee63212]
at
2011-11-20 18:41:25
on branch trunk
— Make OFString a class cluster.
It is a class cluster now, but there is still much to improve. (user: js, size: 41020) [annotate] [blame] [check-ins using]
To Artifact [598d9c6c56]:
- File src/OFString.m — part of check-in [d8a6ca3fbd] at 2011-11-21 16:47:00 on branch trunk — There is no need to hash 32 bit per character if Unicode has only 24. (user: js, size: 40976) [annotate] [blame] [check-ins using]
︙ | |||
1097 1098 1099 1100 1101 1102 1103 | 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 | - - + + - - + | uint32_t hash; OF_HASH_INIT(hash); for (i = 0; i < length; i++) { const of_unichar_t c = unicodeString[i]; |
︙ |