On Sat, 10 Sep 2011 12:52:04 -0300 Gustavo Sverzut Barbieri <barbi...@profusion.mobi> said:
> On Sat, Sep 10, 2011 at 12:44 PM, Mike Blumenkrantz <m...@zentific.com>wrote: > > > Hi, > > > > Why is stringshare not used for labels in genlist/gengrid? It seems stupid > > that > > such a commonly used widget does not take advantage of stringshares... > > > > No idea, raster did it that way... it remained that way. Makes perfect sense > to me, most of the times you'll get the label from a stringshared resource > and then stick it into stringshared resource (evas/edje). > > I guess he did it like that since his test code was creating strings > dynamically with snprintf("Item %d", counter); they are used internally - its just at the interface layer it requires a dupped string. i opted for strdup as it's more common and i invariably expect the code handing back strings to come from non-efl sources more often, so strdup works best i didnt expect them to be long strings nor be en-masse duplicates. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel