Affected Component
The reducer of core
Current Behavior
When merging 3 segments into one, optimze()/merge() will create a new empty segments as the target segment.
Desired Improvement
Take the first segment as the target segment to avoid rebuilding the graph.
Impact
Reduce the cost of optimizing operation.
Affected Component
The reducer of core
Current Behavior
When merging 3 segments into one,
optimze()/merge()will create a new empty segments as the target segment.Desired Improvement
Take the first segment as the target segment to avoid rebuilding the graph.
Impact
Reduce the cost of optimizing operation.