DescriptionDevTools: Replace binarySearch with lowerBound and upperBound functions
This allows to avoid index-mapping-to-negative-axis-trick in
binarySearch and its usages.
It also makes insertionIndexForObjectInListSortedByFunction to work in
O(log(n)) time instead of O(n).
R=caseq@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153679
Patch Set 1 #
Total comments: 10
Patch Set 2 : Addressing comments. #
Total comments: 5
Patch Set 3 : Named default comparator. #Patch Set 4 : Removed space after comma and colon in annotations. #Patch Set 5 : Removed space after comma and colon in annotations. #Patch Set 6 : Rebaseline #
Messages
Total messages: 11 (0 generated)
|