diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-13 16:13:46 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-20 20:13:05 -0400 |
commit | 410154e76c229a862b43a9eee6ffc44b845f6ffd (patch) | |
tree | 4388480966555309163b17d51d5d0a4c743d68eb /sc/Library_sc.mk | |
parent | 180c2fe7432f444fcf8f933c413c63c56dd5c27a (diff) |
Collect all empty broadcasters and remove them in one go later.
This is to avoid repeated calls to set_empty() on the broadcaster array
which causes array reallocation on each call. Instead, we can store the
segments of broadcasters to be deleted later, and call set_empty() on
those segments to reduce the number of calls to set_empty().
The meat of this is not implemented yet, as EndListeningContext is still
empty.
Change-Id: I914bc2881acee3902c4fec0f6c21aaf4d2489df8
Diffstat (limited to 'sc/Library_sc.mk')
-rw-r--r-- | sc/Library_sc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index e628605c3c04..79a553d2559a 100644 --- a/sc/Library_sc.mk +++ b/sc/Library_sc.mk @@ -139,6 +139,7 @@ $(eval $(call gb_Library_add_exception_objects,sc,\ sc/source/core/data/global \ sc/source/core/data/global2 \ sc/source/core/data/globalx \ + sc/source/core/data/listenercontext \ sc/source/core/data/markarr \ sc/source/core/data/markdata \ sc/source/core/data/mtvelements \ |