Clone
Murtadha Makki Al Hubail
committed
on 14 Mar
[NO ISSUE][RT] Eliminate Excessive Object Creation in Sort Merge
- user model changes: no
- storage format changes: no
- interface changes: … Show more
[NO ISSUE][RT] Eliminate Excessive Object Creation in Sort Merge

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Currently, every binary search for frame lookup during

 the sort merge phase results in auto-boxing to an Integer.

 In addition, every call to InnerFrameInfo#compareTo during

 the binary search results another auto-boxing. This change

 eliminates these objects creation by using a MutableInt and

 and using a primitive int comparison while comparing.

Change-Id: I72b498d476d242f85966caf67d2543978e5c88bb

Reviewed-on: https://asterix-gerrit.ics.uci.edu/3276

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Show less