8 Nov
2010
8 Nov
'10
4:32 a.m.
Eric Niebler
The not-so-exciting alternative to having this functionality in xpressive
is
going back to C-style matching engines for stream filtering.
Yep. But like I said, if your stream is like a file stream, then you can manipulate the underlying buffers to give you a sliding window, paging data in and out as needed.
Infinite streams (as in presently discussed issue) have an unhealthy tendency to come from the network and end up there as well (and the memory at the filtering node is not that abundant). Files, of course, seldom require such complications.