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 %.
Nobody/Anonymous
None
None
Public
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use