summaryrefslogtreecommitdiff
path: root/meta/conf/site.conf.sample
diff options
context:
space:
mode:
authorBob Foerster <robert@erafx.com>2010-11-20 04:39:22 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:42 +0000
commitc6328564de8e8cae113ee559d769105f9f4b6003 (patch)
treec557df9ea46a3ed9501e14829be7db0af09239a7 /meta/conf/site.conf.sample
parente81fc749f34df0b6944849f217840b3a7a027af8 (diff)
downloadopenembedded-core-c6328564de8e8cae113ee559d769105f9f4b6003.tar.gz
openembedded-core-c6328564de8e8cae113ee559d769105f9f4b6003.tar.bz2
openembedded-core-c6328564de8e8cae113ee559d769105f9f4b6003.tar.xz
openembedded-core-c6328564de8e8cae113ee559d769105f9f4b6003.zip
Prefer xrange over range for small performance gain.
range() allocates an actual list when called. xrange() is just an iterator and creates the next range item on demand. This provides a slight performance increase. In python 3, range will do what xrange does currently, but the upgrade will be handled by the 2to3 tool. (Bitbake rev: 73b40f06444cb877a5960b2aa66abf7dacbd88f0) Signed-off-by: Bob Foerster <robert@erafx.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf/site.conf.sample')
0 files changed, 0 insertions, 0 deletions