Memory management in streaming: buffering, lookahead, or none. Which to choose?
Talks
Memory management in streaming: buffering, lookahead, or none. Which to choose?
Add to calendarAlthough the ideal approach to streaming is to process markup events as soon as they are encountered, with no memory needing to be used for storing parts of the input document, this is not always feasible, and in practice it is useful to consider "near-streaming" approaches that involve a limited amount of buffering or lookahead. In the extreme, however, such approaches degenerate until they are indistinguishable from non-streaming processes. This paper attempts a classification of streaming and near-streaming processing methods using different approaches to memory management, and discusses the advantages and disadvantages of each.