diff options
author | 2016-06-21 18:56:04 +0000 | |
---|---|---|
committer | 2016-06-22 10:46:41 +0000 | |
commit | 4d8baf8d3e576e68b3d11c2b77735f00afd7fe94 (patch) | |
tree | b0027864502b03984f2dd0f663dd2b2344101819 /third_party/ijar/test/ijar_test.sh | |
parent | 611e7cd47de47fd7cc7e08a260d6640803aafd9f (diff) |
Avoid nested BatchStreamedCallbacks in SkyQueryEnvironment
Previously each call to SkyQueryEnvironment.eval wrapped the provided
callback in a new batched callback. Nesting batched callbacks results
in unnecessary work.
With this change, SkyQueryEnvironment will construct one batched
callback in evaluateQuery (the top-level function called during query
evaluation). Because batched callbacks need to be flushed using
processLastPending(), it was convenient not to call through to the
base class's implementation of evaluateQuery, but to inline it in
SkyQueryEnvironment and add the processLastPending call at the
appropriate place.
This also clears the way for future customizations to
SkyQueryEnvironment's implementation of evaluateQuery.
--
MOS_MIGRATED_REVID=125477770
Diffstat (limited to 'third_party/ijar/test/ijar_test.sh')
0 files changed, 0 insertions, 0 deletions