Projects > cpp > Issues > Bug #2552

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCDictElement optimization!

Bug #2552 [Rejected]
godyZ 2013-08-19 06:27 . Updated about 11 years ago

(harikrishnar opened this issue 21 days ago in github)

Hi All,

In CCDictElement the key is a 256 long char array, how can we optimize it?

When i change it to char* and use malloc inside the constructor of CCDictElement to allocate memory and copy the string,

HAS_FIND_STR returns NULL always?

Whats the approach i should take?

WenHai 2014-01-08 03:49
  • Status changed from New to Rejected

uthash need fixed length

walzer@cocos2d-x.org 2014-01-08 08:35
  • Target version deleted (Candidate)

CCDictElement is deprecated since v3.0 beta

Atom PDF

Status:Rejected
Start date:2013-08-19
Priority:Normal
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-