Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/2349
+1 LGTM, ran full build with unit tests and contrib-check, verified that
the behavior is maintained, and code indicates the performance improvement.
Thanks for the improvement! Merging to master---
