I'm analysing my TD game (which is made in Spritekit.) I'm focusing on my 'getTargetsForTower' method right now. The method is called in my update loop.
As you will see below 'objc_object::sideTable_retain()' and 'objc_object::sideTable_release(bool)' are consuming half of the CPU time for this method. (The statistics are after running for roughly six minutes.)
I'm really not sure what they are, but I'm wondering if it is a coding mistake on my part or if this is normal?
I can post the code for the methods if wanted.
Would appreciate any info about this. I didn't have any success Googling.
As you will see below 'objc_object::sideTable_retain()' and 'objc_object::sideTable_release(bool)' are consuming half of the CPU time for this method. (The statistics are after running for roughly six minutes.)

I'm really not sure what they are, but I'm wondering if it is a coding mistake on my part or if this is normal?
I can post the code for the methods if wanted.
Would appreciate any info about this. I didn't have any success Googling.