On Wed, 2009-05-13 at 16:19 -0700, Christopher Larson wrote:
> I've noticed that a given recipe gets fully re-parsed on every  
> execution of one of its tasks.  Is this intended?

Yes. We no longer cache the resulting data dictionary from parsing as
its large and it proves to be faster just to reparse it when needed.

Since tasks are executed adhoc as needed and not linearly for a given
recipe, this results in it being reparsed for each task. Not ideal but
its also not been a performance problem (or there are much bigger ones).

>   Perhaps it's not a  
> measurable performance issue, but I'm finding the fact that the  
> finalise() happening repeatedly can result in some odd behaviors due  
> to anonymous python functions that don't expect to be run over and  
> over again.

Hmm, which functions are having this problem? We never make any
guarantees about how many calls an anonymous function may see...

Cheers,

Richard

_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to