Right now handlers receive the full matched data in a buffer. In order to reduce memory footprint it could be wise to make this optional. And pass only a parts of buffers to streamer.
There also might be some changes regarding data buffering in the future:
matcher can have an option whether it requires full data when matched
handler can have an option whether it requires full data when matched
strategies already have some option like that (note that it might be good to share some
buffering code withing strategies)
Right now handlers receive the full matched data in a buffer. In order to reduce memory footprint it could be wise to make this optional. And pass only a parts of buffers to streamer.
There also might be some changes regarding data buffering in the future: