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:39 UTC

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

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

   ### 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/197139205-66ca7e1e-e6a7-4eee-9ae4-c500f66afdd9.png)
   located at:
   org/apache/eventmesh/runtime/core/protocol/http/processor/UnSubscribeProcessor.java line 189
   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/197139323-4a97f6a0-eece-4b97-9e69-5a63f8ee9461.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 closed issue #1727: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [UnSubscribeProcessor]

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


-- 
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] Pragalapavithra23 commented on issue #1727: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [UnSubscribeProcessor]

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

   @xwm1992 I can work on this , can you pls assign it to my name


-- 
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 commented on issue #1727: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [UnSubscribeProcessor]

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

   > @xwm1992 I can work on this , can you pls assign it to my name
   
   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] Madhu-29 commented on issue #1727: [Enhancement] Inefficient use of keyset iterator instead of entrySet iterator [UnSubscribeProcessor]

Posted by GitBox <gi...@apache.org>.
Madhu-29 commented on issue #1727:
URL: https://github.com/apache/incubator-eventmesh/issues/1727#issuecomment-1289014612

   @xwm1992 I like to work on this, Can you 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