You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/10/21 07:35:35 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]

Alonexc opened a new issue, #1726:
URL: https://github.com/apache/incubator-eventmesh/issues/1726

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Enhancement Request
   
   ![image](https://user-images.githubusercontent.com/91315508/197138893-966f21d7-07fd-4276-a71a-78fba469cfeb.png)
   located at:
   org/apache/eventmesh/runtime/core/protocol/http/processor/SubscribeProcessor.java line 251
   analysis and explanation:
   This method accesses the value of a Map entry, using a key that was retrieved from a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup.
   
   ### Describe the solution you'd like
   
   reference:
   ![image](https://user-images.githubusercontent.com/91315508/197139034-31c5d07d-86ff-45a2-b943-873be4430831.png)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 commented on issue #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]

Posted by GitBox <gi...@apache.org>.
xwm1992 commented on issue #1726:
URL: https://github.com/apache/incubator-eventmesh/issues/1726#issuecomment-1288010635

   > I would like to work on this issue. @xwm1992 Can you please assign this task to me?
   
   Sorry, these issues are labeled as good first issue for first time contributors.


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] Kavisankar-TW commented on issue #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]

Posted by GitBox <gi...@apache.org>.
Kavisankar-TW commented on issue #1726:
URL: https://github.com/apache/incubator-eventmesh/issues/1726#issuecomment-1290667833

   Hi @xwm1992,
   I would like to work on this. Can you please assign this task to me?


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] DeepikaMarthandanTW commented on issue #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]

Posted by GitBox <gi...@apache.org>.
DeepikaMarthandanTW commented on issue #1726:
URL: https://github.com/apache/incubator-eventmesh/issues/1726#issuecomment-1287086410

   I would like to work on this issue. @xwm1992  Can you please assign this task to me?


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] Kavinkumar07 commented on issue #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]

Posted by GitBox <gi...@apache.org>.
Kavinkumar07 commented on issue #1726:
URL: https://github.com/apache/incubator-eventmesh/issues/1726#issuecomment-1292945699

   I would like to work on this. Can you please assign this task to me?


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 closed issue #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]

Posted by GitBox <gi...@apache.org>.
xwm1992 closed issue #1726: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [SubscribeProcessor]
URL: https://github.com/apache/incubator-eventmesh/issues/1726


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org