Hi.
As to 2., then the change needed is if the user passes null to the constructor
it should avoid creating the internal map and the copy. Copying all of the
values is even less efficient.
The reason 3 is an issue is that static methods cannot be overridden, so having
an api with an implemen
Hello Robert,
On 07/01/25 12:05 am, robert engels wrote:
> ...
>
> 2. Another proposed change to Headers would be to add a protected
constructor that allowed you to pass in the Map implementation (or
null), allowing specialized map data structures that are better suited
to http headers storage
Thanks Jaikiran. I will submit a PR.
What about the two other related issues - the ability to use a different map
implementation (or at least null) and removing the dependency on the Sun
internal class?
I have already signed the OCA for previous work.
Robert
> On Jan 8, 2025, at 12:30 AM, J
Hello Robert,
On 07/01/25 12:05 am, robert engels wrote:
...
With a high performance http server, often the most expensive element
is the encoding/decoding/processing of the “headers” when accessing
cached resources, etc. Garbage generation can be a real problem for
low-latency high volume se