summaryrefslogtreecommitdiff
path: root/packages/glib-2.0/glib-2.0.inc
AgeCommit message (Collapse)AuthorFiles
2006-11-25glib-2.0.inc: Add missing importRichard Purdie1
2006-11-18Micro-Optimisation decreasing initial parsing time by 10%Holger Freyther1
python () {} and python __anonymous () {} are as the same says functions without a name. They get executed when the main bb file is completely parsed. This is used to set information like FILESDIR. This is a python method so it gets evaled which means compiled and executed a lot of times. By moving the code of the anonfunc into a proper method this is only compiled once. The result is is the 10% speed up when parsing. Reindent anonfuncs and new defs without tabs and four spaces