If I load the same plist multiple times with addSpriteFramesWithFileName(), will it use more memory?

If I load the same plist twice with:

CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("myplist.plist);

will it use more memory, or is it smart enough to know that the image asoociated to that plist is already loaded, and so not load it twice?

I am using a function to return a CCAnimation*.

So the same .png for a plist is called many times.

Thanks.

No, because textures are cached in CCTextureCache, so will only load texture once.
But it will load and parse plist file every time you call CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile().

Ok. I understand. Thanks Minggo.