You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/06/26 11:08:00 UTC
[jira] [Updated] (HDDS-8929) Avoid list allocation for pipeline search
[ https://issues.apache.org/jira/browse/HDDS-8929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-8929:
---------------------------------
Labels: pull-request-available (was: )
> Avoid list allocation for pipeline search
> -----------------------------------------
>
> Key: HDDS-8929
> URL: https://issues.apache.org/jira/browse/HDDS-8929
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: SCM
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
>
> {{Pipeline#equals}} includes equality of {{getNodes()}}, which wraps the set of nodes in a new {{ArrayList}} (defensive "copy"). This is unnecessary, we can compare the underlying {{Set}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org