lhotari commented on PR #26019:
URL: https://github.com/apache/pulsar/pull/26019#issuecomment-4697618404

   > Entries    Ledgers Map scan        Cached counter  Speedup
   > 65,536     1,024   6,454.5 ns/op   23.8 ns/op      271.7x
   > 1,048,576  16,384  687,867.5 ns/op 23.7 ns/op      29,011.7x
   
   In practice a single consumer won't be handling very many ledgers at once so 
this isn't a bottleneck or major waste of CPU. Regardless, this is a useful 
improvement.


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