Donate Share

uthash

Tracker: Bugs

5 uthash decreases performance under iPhone - ID: 2824444
Last Update: Tracker Item Submitted ( riq )

If you include the uthash.h header file (v1.7) in an iPhone project the
performance of the project will decrease in ~ 5 %.
It is noteworthy that you don't even need to create any hash table. By just
including the header file, the performance decreases.

Steps to reproduce it:
1. Download cocos2d v0.8 ( http://www.cocos2d-iphone.org/download )
2. run the PerfomanceSpriteTest
3. Run Test A-9 with 250 sprites.
4. measure the FPS

Now repeat everything from step 2, but add the uthash.h file any file. eg:
Edit ActionManager.m
And add this line:

#import "uthash.h"

You will see that the performance decreases ~ 5 %.


Ricardo Calixto Quesada ( riq ) - 2009-07-20 19:36

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.