desruisseaux commented on PR #2092:
URL: https://github.com/apache/maven/pull/2092#issuecomment-2646555227

   A batch method would not fundamentally change the O(N²) nature of the 
operation, unless it temporarily copy the list in an hash set, in which case we 
lost the concurrency characteristics of `CopyOnWriteArrayList`.
   
   I think that the first question still: do we need to care about concurrency 
or thread safety now, given that the rest of the class is not thread-safe? If 
no, we can just replace `CopyOnWriteArrayList` by `LinkedHashSet` and we are 
done.


-- 
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: issues-unsubscr...@maven.apache.org

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

Reply via email to