Differences From Artifact [7d79beb13c]:
- File
src/OFIterator.h
— 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: 1069) [annotate] [blame] [check-ins using]
To Artifact [b88ba4de2f]:
- File src/OFIterator.h — part of check-in [eddc0ba58c] at 2009-06-30 13:38:36 on branch trunk — Implement OFCopying and OFMutableCopying in OFDictionary. (user: js, size: 1087) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
10 11 12 13 14 15 16 | */ #import "OFObject.h" #import "OFList.h" #import "OFDictionary.h" typedef struct __of_iterator_pair { | | | > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | */ #import "OFObject.h" #import "OFList.h" #import "OFDictionary.h" typedef struct __of_iterator_pair { id key; id object; uint32_t hash; } of_iterator_pair_t; extern int _OFIterator_reference; /** * The OFIterator class provides methods to iterate through objects. */ |
︙ | ︙ |