Hob: improve recipe/package selection performance
authorDongxiao Xu <dongxiao.xu@intel.com>
Wed, 14 Mar 2012 02:53:42 +0000 (10:53 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Mar 2012 10:35:17 +0000 (10:35 +0000)
commitcca11c76700bb5da5fff5d93b316496af980f394
treee0799dc4757428dab3be890d69378c4d2c0d4b80
parent5beae6cc2601bcecf47523e61fad5822cb9c7fec
Hob: improve recipe/package selection performance

Originally we will send selection chagned notification in each
include_item and exclude_item, which is time cost since these are
recursive functions and we may select hundreds of recipes/packages.

The improvement is to move the notification from include_item and
exclude_item to the place where the two functions are called.
This could greatly improve the selection/deselection speed for recipe
and package lists.

(Bitbake rev: 5ad7c54f4b8739b9ae097c68978093a53f950ed7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/hoblistmodel.py
bitbake/lib/bb/ui/crumbs/packageselectionpage.py
bitbake/lib/bb/ui/crumbs/recipeselectionpage.py