You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/03/14 08:12:08 UTC
[GitHub] [ozone] adoroszlai opened a new pull request #3189: HDDS-6439. Minor perf optimization in component version enums
adoroszlai opened a new pull request #3189:
URL: https://github.com/apache/ozone/pull/3189
## What changes were proposed in this pull request?
Avoid frequent usage of `values()` in component version enums by implementing `toProtoValue` as a map lookup.
https://issues.apache.org/jira/browse/HDDS-6439
## How was this patch tested?
```
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.hadoop.hdds.TestComponentVersionInvariants
```
https://github.com/adoroszlai/hadoop-ozone/runs/5533214782#step:5:3181
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] swagle merged pull request #3189: HDDS-6439. Minor perf optimization in component version enums
Posted by GitBox <gi...@apache.org>.
swagle merged pull request #3189:
URL: https://github.com/apache/ozone/pull/3189
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai commented on pull request #3189: HDDS-6439. Minor perf optimization in component version enums
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #3189:
URL: https://github.com/apache/ozone/pull/3189#issuecomment-1068865253
Thanks @umamaheswararao for the review, @swagle for merging this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org