Lists Home |
Date Index |
Rich Salz wrote:
> I generally prefer a pull model because it means I don't have to resort
> to tricks to get and keep my state around.
> I think the pull model falls apart when you want to do several things in
> parallel as data comes streaming in -- e.g., build a DOM tree,
> canonicalize the data for hashing (and XML DSIG). You then run into the
> old GUI limitation of event loops: "there can be only one."
why not to buffer events and run them through different processing pipelines?
it should be easy to do with pullparser that buffers events and has replay function.