dmsolr commented on issue #3106: Use CopyOnWriteArrayList instead of recreating 
manually
URL: https://github.com/apache/skywalking/pull/3106#issuecomment-512335708
 
 
   Out of this patch.
   ArrayList has worse performance because ArrayList uses `add()` one by one. 
It would be better if using `addAll()` or `new ArrayList<>(collections)`. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to