]> code.ossystems Code Review - openembedded-core.git/commit
cache: defer marking fn as clean
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 3 Jan 2011 19:57:22 +0000 (20:57 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 15:00:18 +0000 (15:00 +0000)
commitaae85325289a83d21606621310894d5d6f56b50a
tree6037e272963f3c4a68e567db7167a68b0914d8c0
parentc9d4807662494aa313c9b5b3bb5de6f8a25d32d3
cache: defer marking fn as clean

Only mark fn as clean if it is clean.
This saves us from removing (prematurely added) fn from our clean set
and saves me a few percent of runtime (and misleading debugging output
from remove()).

(Bitbake rev: 884365228fcaac07421ac1440d4946693fb628c5)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cache.py