lhotari removed a comment on pull request #9735:
URL: https://github.com/apache/pulsar/pull/9735#issuecomment-786567750


   It seems that it would be possible to get rid of the key creation to prevent 
String allocation, using a similar approach as @rdhabalia used in 
NamespaceStats: 
https://github.com/apache/pulsar/blob/cc64889abe94d47f048e2f8e8fb10d6c37e695ec/pulsar-broker/src/main/java/org/apache/pulsar/broker/stats/NamespaceStats.java#L46-L63
 .
   
   


----------------------------------------------------------------
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.

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


Reply via email to