mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-23 06:55:52 +00:00
Fixed: Speed improvement
This commit is contained in:
1 parent
3a7384ec26
commit
5d415e6679
1 file changed
+3
-3
@@ -222,13 +222,13 @@ var CPDictionaryMaxDescriptionRecursion = 10;
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
if ([objects count] != [keyArray count])
|
||||
var i = [keyArray count];
|
||||
|
||||
if ([objects count] != i)
|
||||
[CPException raise:CPInvalidArgumentException reason:[CPString stringWithFormat:@"Counts are different.(%d != %d)", [objects count], [keyArray count]]];
|
||||
|
||||
if (self)
|
||||
{
|
||||
var i = [keyArray count];
|
||||
|
||||
while (i--)
|
||||
{
|
||||
var value = objects[i],
|
||||
|
||||
Reference in new issue
Block a user