netty5/microbench/src
Francesco Nigro 0a8c9192e5 Improve MqttMessageType::valueOf cost (#10400)
Motivation:

MqttMessageType::valueOf has O(N) cost

Modifications:

MqttMessageType::valueOf uses a const lookup table

Result:

MqttMessageType::valueOf has O(1) cost
2020-08-31 10:32:48 +02:00
..
main Improve MqttMessageType::valueOf cost (#10400) 2020-08-31 10:32:48 +02:00