]> code.ossystems Code Review - openembedded-core.git/commit
Reduce bb.cache memory usage a bit
authorChris Larson <chris_larson@mentor.com>
Thu, 23 Sep 2010 18:21:29 +0000 (11:21 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:36 +0000 (14:46 +0000)
commit3f40a2efe835ba6c6660485f11d0460332d401d1
tree1e441dca05746e158aef538695ec4a083fd4bef9
parent666513982fb767c992471a4dce2aa2f7b9c9cdfb
Reduce bb.cache memory usage a bit

- Don't store key/value pairs when the value is None
- Delete the depends_cache when we're done with it

This reduces the memory usage after sync on initial parse by roughly 11.5% on
this machine.

(Bitbake rev: c7eb4c989459d182fdf9c81a627d32b7ef11626b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cache.py