Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove merge
  • Loading branch information
rxin committed Nov 20, 2018
commit dd61273024bf322bfe03f3cd5e06803eaae62d8f
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ object QueryPlanningTracker {

def this() = this(totalTimeNs = 0, numInvocations = 0, numEffectiveInvocations = 0)

def merge(other: RuleSummary): RuleSummary = {
new RuleSummary(
this.totalTimeNs + other.totalTimeNs,
this.numInvocations + other.numInvocations,
this.numEffectiveInvocations + other.numEffectiveInvocations
)
}

override def toString: String = {
s"RuleSummary($totalTimeNs, $numInvocations, $numEffectiveInvocations)"
}
Expand Down