hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cakofony <...@git.apache.org>
Subject [GitHub] httpcomponents-core issue #49: HeaderGroup uses a ReadWriteLock for access t...
Date Thu, 10 Aug 2017 02:17:08 GMT
Github user cakofony commented on the issue:

    https://github.com/apache/httpcomponents-core/pull/49
  
    > Could there be fewer changes if a CopyOnWriteArrayList is used instead of an ArrayList
in HeaderGroup?
    
    Possibly, I was worried about the performance aspects of CoW. HeaderGroup tends to iterate
by index internally to avoid Iterator allocation, which still wouldn't be safe.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message