Not for this PR, but I guess you really don't need to do a full time sort at O(N logN) and you're fine with just finding the minimum time pulse at O(N). Then you can pass that as a reference pulse (by reference) to sumPulses.
Originally posted by @wdconinc in #2789 (comment)
Not for this PR, but I guess you really don't need to do a full time sort at O(N logN) and you're fine with just finding the minimum time pulse at O(N). Then you can pass that as a reference pulse (by reference) to sumPulses.
Originally posted by @wdconinc in #2789 (comment)