Hi all,

I started writing Eina_Binshare (well actually adjusting
Eina_Stringshare). The guys who wrote Eina_Stringshare cared a lot about
speed, I mean, everything is split to special (common) cases that speed
the whole thing up, for example, the case of 1 char strings.

Stringshare can't be used for Binshare (because of the null termination)
but, if we give up on the 1 char strings special case, we can save a lot
of code duplication.

I honestly don't know enough about the usage of the stringshare
functions around the e code, nor did I do a research on the subject. If
anyone here knows why I should/shouldn't do what suggested above, plesae
let me know. Looking at how things stand at the moment, I'm going to do
it, and just wrap around binshare with inline stringshare functions.

--
Tom.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to