AnonHxy commented on PR #17948:
URL: https://github.com/apache/pulsar/pull/17948#issuecomment-1272242048

   > @AnonHxy If the problem is too many calls to 
`HashFunction#hashBytes(byte[])`, It's better to introduce a static 
BytesSchemaHash? so that we don't need to introduce new dependency to the 
client side.
   
   OK. It seems that `hashFunction#hashBytes` will be called only when 
`schemaBytes == null || schemaBytes.length == 0`,  a static BytesSchemaHash 
could avoid getting from cache.


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