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. :) _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
