[Rev 05] RFR: 6674: Optimize finding of first start time and first & last end times
hirt at openjdk.java.net
Mon Jan 27 20:44:15 UTC 2020
On Mon, 27 Jan 2020 20:44:15 GMT, Henrik Dafgård <hdafgard at openjdk.org> wrote:
>> This optimization relies on the fact that event lanes are sorted by timestamp. This allows us to skip performing very costly comparisons when finding the first start time or first/last end times of an IItemCollection and instead just get the first or last events in each lane and find the event in that set that was earliest or last, respectively.
>> This PR also removes the associated aggregators to strongly encourage downstream users to make use of the added RulesToolkit methods.
> The pull request has been updated with 1 additional commit.
Marked as reviewed by hirt (Lead).
More information about the jmc-dev