Sean Sullivan created NIFI-13076:
------------------------------------

             Summary: reduce enum array allocation in OpenTelemetry bundle
                 Key: NIFI-13076
                 URL: https://issues.apache.org/jira/browse/NIFI-13076
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Sean Sullivan


module:  *nifi-opentelemetry-bundle* 

 
h2. Motivation

reduce enum array allocation
h2. Modifications

cache enum .values() in a static variable
h2. Additional context

[https://www.gamlor.info/wordpress/2017/08/javas-enum-values-hidden-allocations/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to