netty5/common/src
Francesco Nigro 69b44c6d06
Reduce DefaultAttributeMap lookup cost (#10530)
Motivation:

DefaultAttributeMap::attr has a blocking behaviour on lookup of an existing attribute:
it can be made non-blocking.

Modification:

Replace the existing fixed bucket table using a locked intrusive linked list
with an hand-rolled copy-on-write ordered single array

Result:
Non blocking behaviour for the lookup happy path
2020-10-02 18:24:35 +02:00
..
main Reduce DefaultAttributeMap lookup cost (#10530) 2020-10-02 18:24:35 +02:00
test Reduce DefaultAttributeMap lookup cost (#10530) 2020-10-02 18:24:35 +02:00