Hi,
I have just noticed when testing my app against the Object Allocations tool, I am getting a ton of objects being allocated in the category of "CFArray (store-deque)".
I have just isolated the problem down to this line:
[myArray removeObjectAtIndex:0];
This line is being called in my main engine on every loop cycle, so I am getting a lot of these being allocated.
I have had a look around online but don't seem to be able to find a good explanation or a workaround. Does anyone have any idea why this is happened?
Thanks,
Joe.
I have just noticed when testing my app against the Object Allocations tool, I am getting a ton of objects being allocated in the category of "CFArray (store-deque)".
I have just isolated the problem down to this line:
[myArray removeObjectAtIndex:0];
This line is being called in my main engine on every loop cycle, so I am getting a lot of these being allocated.
I have had a look around online but don't seem to be able to find a good explanation or a workaround. Does anyone have any idea why this is happened?
Thanks,
Joe.