You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/03/22 08:31:24 UTC
[GitHub] [iotdb] yifuzhou opened a new pull request #2882: Use switch case in enums class
yifuzhou opened a new pull request #2882:
URL: https://github.com/apache/iotdb/pull/2882
## Description
Fix bad smell code, it is not necessary to use for loop to find enums type. It can use switch case to reduce complexity from O(n) ->O(1)...
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] LebronAl merged pull request #2882: Use switch case in enums class
Posted by GitBox <gi...@apache.org>.
LebronAl merged pull request #2882:
URL: https://github.com/apache/iotdb/pull/2882
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org