trino
trino copied to clipboard
Improve performance of SortedRangeSet discrete union
When all SortedRangeSets are discrete, then performance of SortedRangeSet#union
could de improved greatly. Improving union would reduce DF collection latency and reduce coordinator CPU usage (DF are unioned on coordinator).
This is follow up from: https://github.com/trinodb/trino/pull/21657