[oe] [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded

Holger Freyther holger+oe at freyther.de
Tue Sep 21 17:29:05 UTC 2010


On 09/21/2010 02:16 AM, Björn Krombholz wrote:

>> use startsWith and avoid the extra array allocation?
> 
> Array slicing just provides a new mapping onto the original array and
> doesn't copy any data.
> 
> I chose this syntax to make it consistent with qt4x11.bbclass

Well, it creates a new object, and you need to count things by hand (even if
humans have hands they tend to fail on that). Using the starts with function
is safer and avoid creating extra objects. :)




More information about the Openembedded-devel mailing list