[
https://issues.apache.org/jira/browse/CALCITE-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073367#comment-17073367
]
Haisheng Yuan commented on CALCITE-3891:
----------------------------------------
[~fan_li_ya] Yes. It will generate new AbstractList and iterator object. For
non-hotspot methods, it is totally fine. But for hotspot methods, we can
optimize it away, because they are low-hanging fruits, money on the table.
> Remove use of Pair.zip in RelTraitSet.satisfies
> -----------------------------------------------
>
> Key: CALCITE-3891
> URL: https://issues.apache.org/jira/browse/CALCITE-3891
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Haisheng Yuan
> Assignee: Chunwei Lei
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2020-04-01-19-05-58-306.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It accounts too much time of the method, even this is a tiny portion overall.
> !image-2020-04-01-19-05-58-306.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)