mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
When a stream has multiple subjects and a consumer filters the stream to a small and spread out list of messages the logic would do a linear scan looking for the next message for the filtered consumer. This CL allows the store layer to utilize the per subject info to improve the times. Signed-off-by: Derek Collison <derek@nats.io>
22 KiB
22 KiB