ObjFW  Check-in [ba9f2608cc]

Overview
Comment:Small optimization in -[OFDictionary_hashtable initWithDictionary:].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ba9f2608cc233a8670ef36da7df9d60fee903a8c4cfe615b1baba0cc447933de
User & Date: js on 2011-08-22 10:10:16
Other Links: manifest | tags
Context
2011-08-30
16:24
Update Xcode project. check-in: edc7cba80b user: js tags: trunk
2011-08-22
10:10
Small optimization in -[OFDictionary_hashtable initWithDictionary:]. check-in: ba9f2608cc user: js tags: trunk
09:58
Clean up the class hierarchy in the doxygen generated documentation. check-in: 367bf4117b user: js tags: trunk
Changes

Modified src/OFDictionary_hashtable.m from [5217ffcc95] to [2751804ef6].

120
121
122
123
124
125
126





127
128
129
130
131
132
133
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138







+
+
+
+
+







	}

	return self;
}

- initWithDictionary: (OFDictionary*)dictionary
{
	if ([dictionary class] == [OFDictionary_hashtable class] ||
	    [dictionary class] == [OFMutableDictionary_hashtable class])
		return [self _initWithDictionary: dictionary
					copyKeys: YES];

	self = [super init];

	@try {
		OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
		OFEnumerator *enumerator;
		id key;
		uint32_t i, newSize;