weihubeats opened a new issue, #8199:
URL: https://github.com/apache/rocketmq/issues/8199

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   1. `startsWith` is very performance intensive
   2. We don't need to use ArrayList for data storage
   3. `isLoopbackAddress` has already judged the 127 loopback address judgement
   4. The check for private addresses does not cover all private IP ranges, 
such as [10.0.0.0/8]and [172.16.0.0/12]
   
   ### Motivation
   
   performance optimisation
   
   ### Describe the Solution You'd Like
   
   performance optimisation
   
   ### Describe Alternatives You've Considered
   
   no
   
   ### Additional Context
   
   _No response_


-- 
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: commits-unsubscr...@rocketmq.apache.org.apache.org

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

Reply via email to