Hi Claus,

Thanks for the suggestion, I will commit the a quick fix for better performance.

Willem

Claus Ibsen wrote:
Hi

Please try to avoid using getHeaders().clear() in which is not needed
as it cost to much object creation not needed and in the longer run
performance as well.

Hence why there is the hasXXX methods.
So check with hasXXX before invoking getHeaders() otherwise they are
lazily created and often that is not needed.


Reply via email to