lhotari opened a new pull request #13045:
URL: https://github.com/apache/pulsar/pull/13045


   ### Motivation
   
   - there's no need to dynamically evaluate it on every call
     - performance impact is minor
     - more about cleaning up the code and following a "no garbage" code style 
when it makes sense.
   
   ### Modifications
   
   Make CURRENT_PROTOCOL_VERSION a constant instead of evaluating it on every 
call.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to