You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2019/09/03 20:46:17 UTC
[GitHub] [cxf] amarkevich commented on issue #577: cxf-rt-rs-client: use
ArrayList in ClientProxyImpl
amarkevich commented on issue #577: cxf-rt-rs-client: use ArrayList in ClientProxyImpl
URL: https://github.com/apache/cxf/pull/577#issuecomment-527632748
1. getPathParamValues
allocate 10 continuous elements by default; its enough for most cases without re-allocations;
list.set is O(1) for ArrayList
2. handleMultipart
allocate exactly expected parameters size
In general ArrayList uses less memory than LinkedList
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services