Differences From Artifact [eed907dfa3]:
- File
src/OFMutableDictionary.m
— part of check-in
[24ecf55297]
at
2009-06-29 12:33:59
on branch trunk
— Changes to OFDictionary, OFIterator and OFList - see details.
OFDictionary:
* More optimized way to internally store the data.
* Faster resizing of dictionaries (no rehashing anymore).OFIterator:
* Return a key/object pair rather than first the key and then the
object.OFList:
* Support for list objects with a different size so you can have your
own list object structs. (user: js, size: 3081) [annotate] [blame] [check-ins using]
To Artifact [66ece5ed91]:
- File src/OFMutableDictionary.m — part of check-in [eddc0ba58c] at 2009-06-30 13:38:36 on branch trunk — Implement OFCopying and OFMutableCopying in OFDictionary. (user: js, size: 3080) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
134 135 136 137 138 139 140 | [self freeMemory: data]; data = newdata; size = newsize; return self; } | < < < | < < < | 134 135 136 137 138 139 140 141 142 143 144 145 | [self freeMemory: data]; data = newdata; size = newsize; return self; } - (id)copy { return [[OFDictionary alloc] initWithDictionary: self]; } @end |