edc->part = eina_stringshare_add(coll);
edc->references = 1;
if (!edf->collection_hash)
- edf->collection_hash = eina_hash_string_superfast_new(NULL);
+ edf->collection_hash = eina_hash_string_small_new(NULL);
eina_hash_add(edf->collection_hash, coll, edc);
return edc;
}
int count = 0;
if (!edf->font_hash)
- edf->font_hash = eina_hash_string_superfast_new(NULL);
+ edf->font_hash = eina_hash_string_small_new(NULL);
if (edf->font_dir)
{
_edje_textblock_style_parse_and_fix(edf);
if (!edf->data_cache)
- edf->data_cache = eina_hash_string_superfast_new(NULL);
+ edf->data_cache = eina_hash_string_small_new(NULL);
+
EINA_LIST_FOREACH(edf->data, l, di)
eina_hash_add(edf->data_cache, di->key, di->value);
Edje_Part *ep;
if (!_edje_file_hash)
- _edje_file_hash = eina_hash_string_superfast_new(NULL);
+ _edje_file_hash = eina_hash_string_small_new(NULL);
edf = eina_hash_find(_edje_file_hash, file);
if (edf)
{
edf->references++;
- if (!edf->collection_hash)
- edf->collection_hash = eina_hash_string_superfast_new(NULL);
}
else
{
return edf;
}
+ if (!edf->collection_hash)
+ edf->collection_hash = eina_hash_string_small_new(NULL);
+
if (!coll) return edf;
edc = eina_hash_find(edf->collection_hash, coll);