It's pointless to be able to change magic number string after it's created, so let's avoid walking the existing list and just remove places where strings were being duplicated (list/array both inited magic strings for accessor/iterators). Also an optimization, register using an array and sort it before searching. Sort will just happen when array was changed, and this is just done when eina_magic_string_get() is called. SVN revision: 42310 |
||
---|---|---|
legacy |