6 Commits

Author SHA1 Message Date
Paul Wells
7b5c5cd3dd add GetAndSet to bitmap (#942)
* add GetAndSet to bitmap

* cleanup

* benchmark GetAndSet
2025-01-11 11:13:11 -08:00
Raja Subramanian
442c0b901d Small optimisation to store the mask. (#941)
* Small optimisation to store the mask.

Have been chasing some optimisations and noticing getSlotAndOffset
taking up reasonable cycles because it is used in some per packet path.
Making a small optimisation to store the mask.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-12 00:05:25 +05:30
Raja Subramanian
9675e0cf33 Add uint8 to Bitmap (#808) 2024-09-15 00:01:02 +05:30
Paul Wells
a9e0faf6f0 allow intercepting logging (#609)
* allow intercepting logging

* roll back nats
2024-02-20 20:46:29 -08:00
Paul Wells
5b156a9beb simplify bitmap range ops (#486)
* simplify bitmap range ops

* tidy
2023-09-29 23:17:45 -07:00
Raja Subramanian
cf9f95141e bit map (#473)
copying Paul's go playground mostly.
2023-09-16 01:53:28 +05:30